Skip to content

Commit 6fb5e94

Browse files
authored
Update MocksFileUploads.php
1 parent db2f897 commit 6fb5e94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/OldTimeGuitarGuy/Laravel/MocksFileUploads.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public function uploadedFile($path)
2121
$mime = finfo_file($fileInfo, $path);
2222

2323
return new UploadedFile(
24-
$path, null, $mime, null, null, true
24+
$path, null, $mime, filesize($path), null, true
2525
);
2626
}
2727
}

0 commit comments

Comments
 (0)