LaravelDaily/Test-Laravel-File-Upload

can't running php artisan test

fadlyian opened this issue · 1 comments

I have tried to find a solution but could not find it

output :
! original filename upload → Test code or tested code did not (only) close its own output buffers
✓ file size validation
! update file remove old one → Test code or tested code did not (only) close its own output buffers
! download uploaded file → Test code or tested code did not (only) close its own output buffers
! public file show → Test code or tested code did not (only) close its own output buffers
! upload resize → Test code or tested code did not (only) close its own output buffers
! spatie media library → Test code or tested code did not (only) close its own output buffers

I also have the same problem but with another error:
error: call to undefined function illuminate\http\testing\imagecreatetruecolor()

If you have that error The problem is about PHP GD extension, you should enable it.
I use xampp and this tutorial really help me https://www.geeksforgeeks.org/how-to-install-php-gd-in-windows/