Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev: cannot write test for file uploading #7987

Open
kenjis opened this issue Sep 27, 2023 · 1 comment
Open

Dev: cannot write test for file uploading #7987

kenjis opened this issue Sep 27, 2023 · 1 comment
Labels
dev enhancement PRs that improve existing functionalities

Comments

@kenjis
Copy link
Member

kenjis commented Sep 27, 2023

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: kenjis/ci-phpunit-test#157

@kenjis kenjis added the dev label Sep 27, 2023
@kenjis kenjis added the enhancement PRs that improve existing functionalities label Nov 14, 2023
@kenjis
Copy link
Member Author

kenjis commented Nov 14, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev enhancement PRs that improve existing functionalities
Projects
None yet
Development

No branches or pull requests

1 participant