mirror of
https://github.com/apache/struts.git
synced 2026-08-06 23:27:07 +00:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user