mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
fixes for tests which handle remote disks
This commit is contained in:
parent
1432605211
commit
51cd6f71fd
@ -47,10 +47,10 @@ class GetInvoicePdf extends AbstractService
|
|||||||
$file_path = CreateEntityPdf::dispatchNow($invitation);
|
$file_path = CreateEntityPdf::dispatchNow($invitation);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(config('filesystems.default') == 's3')
|
||||||
return TempFile::path(Storage::disk($disk)->url($file_path));
|
return TempFile::path(Storage::disk($disk)->url($file_path));
|
||||||
|
|
||||||
// return 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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user