Updates tests to new version of methods without ServletContext
Project: http://git-wip-us.apache.org/repos/asf/struts/repo Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/ddd27197 Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/ddd27197 Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/ddd27197 Branch: refs/heads/feature/WW-4292-dont-use-servletcontext Commit: ddd27197f5155f6089e2d5e3b82363f44752c57d Parents: d4ddd74 Author: Lukasz Lenart <[email protected]> Authored: Mon Feb 17 09:34:10 2014 +0100 Committer: Lukasz Lenart <[email protected]> Committed: Mon Feb 17 09:34:10 2014 +0100 ---------------------------------------------------------------------- .../org/apache/struts2/dojo/views/jsp/ui/AbstractTagTest.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/struts/blob/ddd27197/plugins/dojo/src/test/java/org/apache/struts2/dojo/views/jsp/ui/AbstractTagTest.java ---------------------------------------------------------------------- diff --git a/plugins/dojo/src/test/java/org/apache/struts2/dojo/views/jsp/ui/AbstractTagTest.java b/plugins/dojo/src/test/java/org/apache/struts2/dojo/views/jsp/ui/AbstractTagTest.java index e20722f..a3bf453 100644 --- a/plugins/dojo/src/test/java/org/apache/struts2/dojo/views/jsp/ui/AbstractTagTest.java +++ b/plugins/dojo/src/test/java/org/apache/struts2/dojo/views/jsp/ui/AbstractTagTest.java @@ -119,8 +119,7 @@ public abstract class AbstractTagTest extends StrutsTestCase { session, new ApplicationMap(pageContext.getServletContext()), request, - response, - pageContext.getServletContext()); + response); // let's not set the locale -- there is a test that checks if Dispatcher actually picks this up... // ... but generally we want to just use no locale (let it stay system default) extraContext.remove(ActionContext.LOCALE);
