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 b7d10169c..fdf4c5998 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")); }