Hi,
I would like to fake a file submission POST for testing purpose.
I have PHP 4.2.2 with PEAR 1.3.1 including PhpUnit 1.0.1.
I want to know how to make a testing context that deals with $_FILES
and move_uploaded_f ile for my unit tests.
Help will be greatly appreciated.
Thanks in advance.
Best regards,
I would like to fake a file submission POST for testing purpose.
I have PHP 4.2.2 with PEAR 1.3.1 including PhpUnit 1.0.1.
I want to know how to make a testing context that deals with $_FILES
and move_uploaded_f ile for my unit tests.
Help will be greatly appreciated.
Thanks in advance.
Best regards,