mirror of
https://github.com/apache/struts.git
synced 2026-08-06 07:06:58 +00:00
[WW-4977] Fixing flaky test in Jsr168DispatcherTest and Jsr286DispatcherTest.
(cherry picked from commit 2d4e26f)
This commit is contained in:
committed by
Yasser Zamani
parent
24e151143e
commit
d7a7c909ea
+1
@@ -261,6 +261,7 @@ public class Jsr168DispatcherTest extends MockObjectTestCase {
|
||||
Map<String, String> initParams = new HashMap<String, String>();
|
||||
initParams.put("viewNamespace", "/view");
|
||||
initParams.put("editNamespace", "/edit");
|
||||
initParams.put(StrutsConstants.STRUTS_ALWAYS_SELECT_FULL_NAMESPACE, "true");
|
||||
|
||||
initPortletConfig(initParams, new HashMap<String, Object>());
|
||||
initRequest(requestParams, new HashMap<String, Object>(), sessionMap, mode, WindowState.NORMAL, false, null);
|
||||
|
||||
+1
@@ -142,6 +142,7 @@ public class Jsr286DispatcherTest extends MockObjectTestCase {
|
||||
Map<String, String> initParams = new HashMap<String, String>();
|
||||
initParams.put("viewNamespace", "/view");
|
||||
initParams.put("editNamespace", "/edit");
|
||||
initParams.put(StrutsConstants.STRUTS_ALWAYS_SELECT_FULL_NAMESPACE, "true");
|
||||
|
||||
initPortletConfig(initParams, new HashMap<String, Object>());
|
||||
initRequest(requestParams, new HashMap<String, Object>(), sessionMap,
|
||||
|
||||
Reference in New Issue
Block a user