mirror of
https://github.com/laravel/valet.git
synced 2026-02-04 16:10:08 +01:00
Revert "ConfigurationTest updated with test_log_directory_is_created_with_log_files_if_it_doesnt_exist() function"
This reverts commit 215eec574e.
This commit is contained in:
@@ -39,15 +39,6 @@ public function test_drivers_directory_is_created_with_sample_driver_if_it_doesn
|
||||
resolve(Configuration::class)->createDriversDirectory();
|
||||
}
|
||||
|
||||
public function test_log_directory_is_created_with_log_files_if_it_doesnt_exist()
|
||||
{
|
||||
$files = Mockery::mock(Filesystem::class.'[isDir,mkdirAsUser,touch]');
|
||||
$files->shouldReceive('isDir')->with(VALET_HOME_PATH.'/Log')->andReturn(false);
|
||||
$files->shouldReceive('mkdirAsUser')->with(VALET_HOME_PATH.'/Log');
|
||||
$files->shouldReceive('touch');
|
||||
swap(Filesystem::class, $files);
|
||||
resolve(Configuration::class)->createLogDirectory();
|
||||
}
|
||||
|
||||
public function test_add_path_adds_a_path_to_the_paths_array_and_removes_duplicates()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user