Hi Thomas,

> Also the isValid method will still throw an error because receive just calls 
> isValid.
> Best would be to catch the Attacker error and return a true instead of this 
> error, but let all other errors pass.

Ok, this might work for my form test. But I also have a test for a
controller which runs the isValid() method of my form. This test needs a
upload simulation because the controller writes some data to the
database and renames the uploaded file. To test this I need a valid form
and cannot catch the attacker error.

Thanks and best regards,

Ralf

Reply via email to