1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-05 00:20:08 +01:00

Merge branch 'mes/pass-site-to-isolate-commands' of github.com:laravel/valet into mes/pass-site-to-isolate-commands

This commit is contained in:
Matt Stauffer
2022-03-21 01:34:45 -04:00

View File

@@ -95,7 +95,7 @@ public function test_it_throws_when_validating_invalid_php()
$brewMock = Mockery::mock(Brew::class);
$brewMock->shouldReceive('supportedPhpVersions')->andReturn(collect(['php@7.4',]));
$brewMock->shouldReceive('supportedPhpVersions')->andReturn(collect(['php@7.4']));
$brewMock->shouldReceive('determineAliasedVersion')->andReturn('ERROR - NO BREW ALIAS FOUND');
swap(Brew::class, $brewMock);
@@ -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);