Skip to content

Commit

Permalink
rename test function to match prohibit action (#51534)
Browse files Browse the repository at this point in the history
  • Loading branch information
faissaloux authored May 22, 2024
1 parent c30e29f commit 8367367
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/Database/DatabaseMigrationRefreshCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public function testRefreshCommandCallsCommandsWithStep()
$this->runCommand($command, ['--step' => 2]);
}

public function testRefreshCommandExitsWhenPrevented()
public function testRefreshCommandExitsWhenProhibited()
{
$command = new RefreshCommand;

Expand Down
2 changes: 1 addition & 1 deletion tests/Database/DatabaseMigrationResetCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public function testResetCommandCanBePretended()
$this->runCommand($command, ['--pretend' => true, '--database' => 'foo']);
}

public function testRefreshCommandExitsWhenPrevented()
public function testRefreshCommandExitsWhenProhibited()
{
$command = new ResetCommand($migrator = m::mock(Migrator::class));

Expand Down

0 comments on commit 8367367

Please sign in to comment.