Repository: struts
Updated Branches:
  refs/heads/master e7ce5dcc0 -> 6c2ff6f15


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/6c2ff6f1
Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/6c2ff6f1
Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/6c2ff6f1

Branch: refs/heads/master
Commit: 6c2ff6f153f7c4ab1eb3d92bc7ab2f401d40aebd
Parents: 6b22901
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:36:39 2016 +0200

----------------------------------------------------------------------
 .../interceptor/StrutsConversionErrorInterceptorTest.java        | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/struts/blob/6c2ff6f1/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"));
     }

Reply via email to