[symfony-users] problem with functional test for upload

2009-12-11 Thread Georg Gell
Hello, I have an action that accepts file uploads from a desktop program. I use a form for validation (see below) and if the form is valid, I process the uploaded files(see action below). This works as expected. But the functional tests (see below) do not upload any file (result see below,

Re: [symfony-users] problem with functional test for upload

2009-12-11 Thread Alexandru-Emil Lupu
Check your IsParameter('file','') The test expects no file but you send one... so the file parameter is not empty. sent via htc magic On Dec 11, 2009 2:01 PM, Georg Gell geor...@have2.com wrote: Hello, I have an action that accepts file uploads from a desktop program. I use a form for

Re: [symfony-users] problem with functional test for upload

2009-12-11 Thread Georg Gell
Hi, I don't really understand what you mean that I should so. I understand that the 'file' parameter is not empty, because I am trying to upload a file. But it shouldn't be a path either IMO, I just used this test to show the value of the 'file' parameter, which is not a file, but a path. The