Add feature tests for Document, FastRequest, FileStorage, Shift, and SMS services

This commit is contained in:
2026-09-21 05:17:45 +03:30
parent fd0d445b6e
commit f77ff527e7
10 changed files with 1368 additions and 9 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ class FileStorageService
$new = Storage::disk($newDisk);
$stream = $old->readStream($medium->path);
if ($stream === false) return false;
if (! is_resource($stream)) return false;
$new->put($medium->path, $stream);
if (is_resource($stream)) fclose($stream);