mirror of
https://github.com/laravel/valet.git
synced 2026-02-05 16:40:05 +01:00
Fix Caddyfile path
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) {
|
||||
$this->assertEquals(VALET_HOME_PATH.'/Caddyfile', $path);
|
||||
$this->assertTrue(strpos($contents, 'import /Users/'.user().'/.valet/Caddy/*') !== false);
|
||||
$this->assertTrue(strpos($contents, 'import '.VALET_HOME_PATH.'/.valet/Caddy/*') !== false);
|
||||
});
|
||||
|
||||
swap(Filesystem::class, $files);
|
||||
|
||||
Reference in New Issue
Block a user