Hi, I'm working in a plugin for my system to manage uploads. It includes an Uploadable behavior.
Is it possible to unit-test the upload part in some way? That is, is there a way to "mock" a file upload to the server. My "B plan" is try to isolate the move_uploaded_file() part into a method, to be able to simulate the results of the upload to test the rest of the behavior. Could this be a correct strategy? Thanks --- Fran Iglesias <cakephpi...@gmail.com> http://cakephpilia.blogspot.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---