mirror of
https://github.com/laravel/valet.git
synced 2026-02-05 08:30:07 +01:00
Fix code styling
This commit is contained in:
committed by
github-actions[bot]
parent
07432a9729
commit
76ece5380a
@@ -316,7 +316,7 @@ public function test_unlink_will_pass_formula_to_run_as_user()
|
||||
$this->assertSame('Some output', resolve(Brew::class)->unlink('aformula'));
|
||||
}
|
||||
|
||||
public function test_getRunningServices_will_throw_exception_on_failure()
|
||||
public function test_get_running_services_will_throw_exception_on_failure()
|
||||
{
|
||||
$this->expectException(DomainException::class);
|
||||
|
||||
@@ -331,7 +331,7 @@ public function test_getRunningServices_will_throw_exception_on_failure()
|
||||
resolve(Brew::class)->getRunningServices(true);
|
||||
}
|
||||
|
||||
public function test_getRunningServices_will_pass_to_brew_services_list_and_return_array()
|
||||
public function test_get_running_services_will_pass_to_brew_services_list_and_return_array()
|
||||
{
|
||||
$cli = Mockery::mock(CommandLine::class);
|
||||
$cli->shouldReceive('runAsUser')->once()->withArgs([
|
||||
@@ -349,7 +349,7 @@ public function test_getRunningServices_will_pass_to_brew_services_list_and_retu
|
||||
], array_values($result->all()));
|
||||
}
|
||||
|
||||
public function test_getAllRunningServices_will_return_both_root_and_user_services()
|
||||
public function test_get_all_running_services_will_return_both_root_and_user_services()
|
||||
{
|
||||
$cli = Mockery::mock(CommandLine::class);
|
||||
$cli->shouldReceive('run')->once()->withArgs([
|
||||
@@ -369,7 +369,7 @@ public function test_getAllRunningServices_will_return_both_root_and_user_servic
|
||||
], array_values($result->all()));
|
||||
}
|
||||
|
||||
public function test_getAllRunningServices_will_return_unique_services()
|
||||
public function test_get_all_running_services_will_return_unique_services()
|
||||
{
|
||||
$cli = Mockery::mock(CommandLine::class);
|
||||
$cli->shouldReceive('run')->once()->andReturn('service1'.PHP_EOL.'service2'.PHP_EOL.'service1'.PHP_EOL);
|
||||
|
||||
Reference in New Issue
Block a user