Commits

Anonymous committed 981e79d

XW-680:
- Add support for a one-time request_locale parameter causing requested locale not to be stored in session
- Fixed test problem

git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk@1981e221344d-f017-0410-9bd5-d282ab1896d7

Comments (0)

Files changed (1)

src/test/com/opensymphony/xwork2/interceptor/I18nInterceptorTest.java

     }
 
     public void testWithVariantRequestOnly() throws Exception {
-        params.put(I18nInterceptor.DEFAULT_PARAMETER, "fr_CA_xx");
+        params.put(I18nInterceptor.DEFAULT_REQUESTONLY_PARAMETER, "fr_CA_xx");
         interceptor.intercept(mai);
 
         assertNull(params.get(I18nInterceptor.DEFAULT_PARAMETER)); // should have been removed