Skip to content

Commit

Permalink
remove port call
Browse files Browse the repository at this point in the history
  • Loading branch information
alnutile committed Mar 25, 2024
1 parent 8c9224b commit 02c23d4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/Feature/SharedSetupForPdfFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace Tests\Feature;

use App\Models\Document;
use App\Models\Source;
use Illuminate\Support\Facades\File;

trait SharedSetupForPdfFile
Expand All @@ -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,
Expand Down

0 comments on commit 02c23d4

Please sign in to comment.