CodeIgniter4 icon indicating copy to clipboard operation
CodeIgniter4 copied to clipboard

Dev: cannot write test for file uploading

Open kenjis opened this issue 2 years ago • 2 comments

We currently don't have a great way to test file uploads for end users.

See https://forum.codeigniter.com/showthread.php?tid=88557

Reference: https://github.com/kenjis/ci-phpunit-test/pull/157

kenjis avatar Sep 27 '23 10:09 kenjis

It would be nice to be able to simply provide a CodeIgniter\Files\UploadedFile object to the request and have it recognize it correctly, set the enctype header, and just work... #8209

kenjis avatar Nov 14 '23 07:11 kenjis