We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It is not possible to upload file in test. File is exist and I simple attached into the form.
The text was updated successfully, but these errors were encountered:
There are several problem in file upload unit test. Here is a simple solution:
http://www.jamesfairhurst.co.uk/posts/view/testing_a_cakephp_contact_form_with_file_uploads
Sorry, something went wrong.
Functions such as is_uploaded_file, and move_uploaded_file are not compatible with unit test.
Here is an-other test approach:
http://blog.pixelastic.com/2010/08/04/testing-file-uploads-in-php/
No branches or pull requests
It is not possible to upload file in test. File is exist and I simple attached into the form.
The text was updated successfully, but these errors were encountered: