mirror of
https://github.com/laravel/valet.git
synced 2026-02-05 08:30:07 +01:00
remove logs method
This commit is contained in:
@@ -64,14 +64,6 @@ public function test_prune_links_removes_broken_symlinks_in_sites_path()
|
||||
$site->pruneLinks();
|
||||
$this->assertFileNotExists(__DIR__.'/output/link');
|
||||
}
|
||||
|
||||
|
||||
public function test_logs_method_returns_array_of_log_files()
|
||||
{
|
||||
$logs = resolve(Site::class)->logs([__DIR__.'/test-directory-for-logs']);
|
||||
$this->assertSame(__DIR__.'/test-directory-for-logs/project/storage/logs/laravel.log', $logs[0]);
|
||||
unlink(__DIR__.'/test-directory-for-logs/project/storage/logs/laravel.log');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user