Skip to content

Commit

Permalink
Merge branch 'mes/pass-site-to-isolate-commands' of github.com:larave…
Browse files Browse the repository at this point in the history
…l/valet into mes/pass-site-to-isolate-commands
  • Loading branch information
mattstauffer committed Mar 21, 2022
2 parents 6dd536c + 94353bc commit 7532ace
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/PhpFpmTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public function test_it_throws_when_validating_invalid_php()

$brewMock = Mockery::mock(Brew::class);

$brewMock->shouldReceive('supportedPhpVersions')->andReturn(collect(['[email protected]',]));
$brewMock->shouldReceive('supportedPhpVersions')->andReturn(collect(['[email protected]']));
$brewMock->shouldReceive('determineAliasedVersion')->andReturn('ERROR - NO BREW ALIAS FOUND');

swap(Brew::class, $brewMock);
Expand Down Expand Up @@ -138,7 +138,7 @@ public function test_utilized_php_versions()
];

foreach ($sites as $site) {
$fileSystemMock->shouldReceive('get')->once()->with(VALET_HOME_PATH . '/Nginx/' . $site['site'])->andReturn($site['conf']);
$fileSystemMock->shouldReceive('get')->once()->with(VALET_HOME_PATH.'/Nginx/'.$site['site'])->andReturn($site['conf']);
}

swap(Filesystem::class, $fileSystemMock);
Expand Down

0 comments on commit 7532ace

Please sign in to comment.