Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

change on validation of upload size limit

  • Loading branch information...
commit 50f82c3d775107466a83cd3665daa709f4dff388 1 parent 230cdef
@marceloemanoel marceloemanoel authored
View
3  ...ore/src/test/java/br/com/caelum/vraptor/interceptor/multipart/CommonsUploadMultipartInterceptorTest.java
@@ -36,6 +36,7 @@
import br.com.caelum.vraptor.http.InvalidParameterException;
import br.com.caelum.vraptor.http.MutableRequest;
import br.com.caelum.vraptor.resource.ResourceMethod;
+import br.com.caelum.vraptor.validator.I18nMessage;
import br.com.caelum.vraptor.validator.Validations;
/**
@@ -240,7 +241,7 @@ public void shouldValidateWhenSizeLimitExceededExceptionOccurs() throws Exceptio
interceptor.intercept(stack, method, instance);
- verify(validator).checking(any(Validations.class));
+ verify(validator).add(any(I18nMessage.class));
}
@Test
Please sign in to comment.
Something went wrong with that request. Please try again.