Fixes test
Project: http://git-wip-us.apache.org/repos/asf/struts/repo Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/59210a7e Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/59210a7e Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/59210a7e Branch: refs/heads/master Commit: 59210a7e0addf0ad91a6edf11f758de6f1cd9310 Parents: bb9df6c Author: Lukasz Lenart <lukaszlen...@apache.org> Authored: Thu May 5 10:37:59 2016 +0200 Committer: Lukasz Lenart <lukaszlen...@apache.org> Committed: Thu May 5 10:37:59 2016 +0200 ---------------------------------------------------------------------- .../opensymphony/xwork2/config/impl/ActionConfigMatcherTest.java | 3 +++ 1 file changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/struts/blob/59210a7e/core/src/test/java/com/opensymphony/xwork2/config/impl/ActionConfigMatcherTest.java ---------------------------------------------------------------------- diff --git a/core/src/test/java/com/opensymphony/xwork2/config/impl/ActionConfigMatcherTest.java b/core/src/test/java/com/opensymphony/xwork2/config/impl/ActionConfigMatcherTest.java index 6eb9f27..7957cf9 100644 --- a/core/src/test/java/com/opensymphony/xwork2/config/impl/ActionConfigMatcherTest.java +++ b/core/src/test/java/com/opensymphony/xwork2/config/impl/ActionConfigMatcherTest.java @@ -156,18 +156,21 @@ public class ActionConfigMatcherTest extends XWorkTestCase { .build()) .addInterceptor(new InterceptorMapping(null, null)) .addResultConfig(new ResultConfig.Builder("success{1}", "foo.{2}").addParams(params).build()) + .setStrictMethodInvocation(false) .build(); map.put("foo/*/*", config); config = new ActionConfig.Builder("package-{1}", "bar/*/**", "bar") .methodName("do{1}_{1}") .addParam("first", "{2}") + .setStrictMethodInvocation(false) .build(); map.put("bar/*/**", config); config = new ActionConfig.Builder("package", "eventAdd!*", "bar") .methodName("{1}") + .setStrictMethodInvocation(false) .build(); map.put("addEvent!*", config);