reuse existing method.

patch provided by Alex Siman

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@816445 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Musachy Barroso
2009-09-18 02:52:22 +00:00
parent 5a758b8e8b
commit f36a3a6d42
@@ -167,8 +167,7 @@ public abstract class StrutsTestCase extends XWorkTestCase {
protected ActionMapping getActionMapping(String url) {
MockHttpServletRequest req = new MockHttpServletRequest();
req.setRequestURI(url);
return Dispatcher.getInstance().getContainer().getInstance(ActionMapper.class).getMapping(req,
Dispatcher.getInstance().getConfigurationManager());
return getActionMapping(req);
}
/**