there would be
no need to change existing application code to add unit tests, and
what's more important it would not leak to security risk.
Regards,
Piotr Czachur
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
2008/4/23 Piotr Czachur [EMAIL PROTECTED]:
Hello!
I use PHPUnit for unit testing of my application (but this issue is
independent of PHPUnit). Tests are run from command line so it's not
way (that I can imagine) to simulate file upload, because app code
uses is_uploaded_file() to check