mirror of
https://github.com/laravel/valet.git
synced 2026-02-04 16:10:08 +01:00
Refactor code for restarting specific PHP version
This commit is contained in:
@@ -792,7 +792,7 @@ public function test_restart_command_restarts_php_version()
|
||||
$tester->run(['command' => 'restart', 'service' => 'php@8.1']);
|
||||
$tester->assertCommandIsSuccessful();
|
||||
|
||||
$this->assertStringContainsString('PHP has been restarted.', $tester->getDisplay());
|
||||
$this->assertStringContainsString('php@8.1 has been restarted.', $tester->getDisplay());
|
||||
}
|
||||
|
||||
public function test_restart_command_restarts_php_denormalized_version()
|
||||
@@ -813,7 +813,7 @@ public function test_restart_command_restarts_php_denormalized_version()
|
||||
$tester->run(['command' => 'restart', 'service' => 'php81']);
|
||||
$tester->assertCommandIsSuccessful();
|
||||
|
||||
$this->assertStringContainsString('PHP has been restarted.', $tester->getDisplay());
|
||||
$this->assertStringContainsString('php@8.1 has been restarted.', $tester->getDisplay());
|
||||
}
|
||||
|
||||
public function test_start_command()
|
||||
|
||||
Reference in New Issue
Block a user