mirror of
https://github.com/laravel/valet.git
synced 2026-02-06 08:40:09 +01:00
fix bug
This commit is contained in:
@@ -27,7 +27,7 @@ public function test_install_caddy_file_places_stub_in_valet_home_directory()
|
|||||||
|
|
||||||
$files->shouldReceive('putAsUser')->andReturnUsing(function ($path, $contents) {
|
$files->shouldReceive('putAsUser')->andReturnUsing(function ($path, $contents) {
|
||||||
$this->assertEquals(VALET_HOME_PATH.'/Caddyfile', $path);
|
$this->assertEquals(VALET_HOME_PATH.'/Caddyfile', $path);
|
||||||
$this->assertTrue(strpos($contents, 'import '.VALET_HOME_PATH.'/.valet/Caddy/*') !== false);
|
$this->assertTrue(strpos($contents, 'import '.VALET_HOME_PATH.'/Caddy/*') !== false);
|
||||||
});
|
});
|
||||||
|
|
||||||
swap(Filesystem::class, $files);
|
swap(Filesystem::class, $files);
|
||||||
|
|||||||
Reference in New Issue
Block a user