Fixes failing test
Project: http://git-wip-us.apache.org/repos/asf/struts/repo Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/cf676d92 Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/cf676d92 Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/cf676d92 Branch: refs/heads/master Commit: cf676d9244a456180dffff35f89a044d634dd37d Parents: 607fd00 Author: Lukasz Lenart <lukaszlen...@apache.org> Authored: Wed Sep 28 10:35:06 2016 +0200 Committer: Lukasz Lenart <lukaszlen...@apache.org> Committed: Wed Sep 28 10:35:06 2016 +0200 ---------------------------------------------------------------------- .../interceptor/StrutsConversionErrorInterceptorTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/struts/blob/cf676d92/core/src/test/java/org/apache/struts2/interceptor/StrutsConversionErrorInterceptorTest.java ---------------------------------------------------------------------- diff --git a/core/src/test/java/org/apache/struts2/interceptor/StrutsConversionErrorInterceptorTest.java b/core/src/test/java/org/apache/struts2/interceptor/StrutsConversionErrorInterceptorTest.java index b7d1016..fdf4c59 100644 --- a/core/src/test/java/org/apache/struts2/interceptor/StrutsConversionErrorInterceptorTest.java +++ b/core/src/test/java/org/apache/struts2/interceptor/StrutsConversionErrorInterceptorTest.java @@ -60,7 +60,7 @@ public class StrutsConversionErrorInterceptorTest extends StrutsInternalTestCase assertNull(action.getFieldErrors().get("foo")); assertNull(action.getFieldErrors().get("bar")); assertNull(action.getFieldErrors().get("baz")); - interceptor.intercept(invocation); + interceptor.doIntercept(invocation); assertTrue(action.hasFieldErrors()); assertNotNull(action.getFieldErrors().get("foo")); assertNull(action.getFieldErrors().get("bar")); @@ -75,7 +75,7 @@ public class StrutsConversionErrorInterceptorTest extends StrutsInternalTestCase stack.push(action); mockInvocation.matchAndReturn("getAction",action); assertNull(action.getFieldErrors().get("foo")); - interceptor.intercept(invocation); + interceptor.doIntercept(invocation); assertTrue(action.hasFieldErrors()); assertNotNull(action.getFieldErrors().get("foo")); }