1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-20 16:31:33 +02:00

fixes for tests which handle remote disks

This commit is contained in:
David Bomba 2021-01-12 19:04:05 +11:00
parent 1432605211
commit 51cd6f71fd

View File

@ -47,10 +47,10 @@ class GetInvoicePdf extends AbstractService
$file_path = CreateEntityPdf::dispatchNow($invitation);
}
if(config('filesystems.default') == 's3')
return TempFile::path(Storage::disk($disk)->url($file_path));
// return Storage::disk($disk)->url($file_path);
// return Storage::disk($disk)->path($file_path);
return Storage::disk($disk)->path($file_path);
}
}