diff --git a/tests/Feature/SharedSetupForPdfFile.php b/tests/Feature/SharedSetupForPdfFile.php index 3e8dfc88..c3311be7 100644 --- a/tests/Feature/SharedSetupForPdfFile.php +++ b/tests/Feature/SharedSetupForPdfFile.php @@ -3,7 +3,6 @@ namespace Tests\Feature; use App\Models\Document; -use App\Models\Source; use Illuminate\Support\Facades\File; trait SharedSetupForPdfFile @@ -19,7 +18,7 @@ protected function webFileDownloadSetup() $from = base_path('tests/fixtures/example.pdf'); if (! File::exists($document->pathToFile())) { - if(!File::exists($document->mkdirPathToFile())) { + if (! File::exists($document->mkdirPathToFile())) { File::makeDirectory( $document->mkdirPathToFile(), 0755,