Thanx, that was the solution to override the methods of the
BaseControllerTest in my FormControllerTest and just setting up the
RequestUri and the method.. now the test-web works successfully
Greetings..
hquinn wrote:
>
> Ok, I see... so that means that I need to override the methods of newGet
Ok, I see... so that means that I need to override the methods of newGet and
newPost of the BaseControllerTest??
Mm any idea of how to do that? I saw the spring api for the
MockMultipartHttpServletRequest and the constructor does not receive any
parameters like the MockHttpServletRequest does to s
You need to use MockMultipartHttpServletRequest in place of
MockHttpServletRequest.
Mike.
On 4/12/07, hquinn <[EMAIL PROTECTED]> wrote:
Hi everyone!
I´m working with spring and appfuse... and I have a formController where I
cast the request to a MultipartHttpServletRequest to upload a picture
Hi everyone!
I´m working with spring and appfuse... and I have a formController where I
cast the request to a MultipartHttpServletRequest to upload a picture and
save it in the database... when I test it manually in the web browser I have
no problem with it, no errors... but when I run the test-we