You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2007/12/04 20:39:30 UTC

svn commit: r601054 - /ofbiz/branches/release4.0/framework/testtools/src/org/ofbiz/testtools/SimpleMethodTest.java

Author: jleroux
Date: Tue Dec  4 11:39:29 2007
New Revision: 601054

URL: http://svn.apache.org/viewvc?rev=601054&view=rev
Log:
Applied fix from trunk for revision: 600864

Modified:
    ofbiz/branches/release4.0/framework/testtools/src/org/ofbiz/testtools/SimpleMethodTest.java

Modified: ofbiz/branches/release4.0/framework/testtools/src/org/ofbiz/testtools/SimpleMethodTest.java
URL: http://svn.apache.org/viewvc/ofbiz/branches/release4.0/framework/testtools/src/org/ofbiz/testtools/SimpleMethodTest.java?rev=601054&r1=601053&r2=601054&view=diff
==============================================================================
--- ofbiz/branches/release4.0/framework/testtools/src/org/ofbiz/testtools/SimpleMethodTest.java (original)
+++ ofbiz/branches/release4.0/framework/testtools/src/org/ofbiz/testtools/SimpleMethodTest.java Tue Dec  4 11:39:29 2007
@@ -20,6 +20,7 @@
 
 import java.util.Iterator;
 import java.util.List;
+import java.util.Locale;
 import java.util.Map;
 
 import junit.framework.AssertionFailedError;
@@ -61,7 +62,7 @@
         try {
 
             Map serviceResult = SimpleMethod.runSimpleService(methodLocation, methodName, dispatcher.getDispatchContext(), 
-                    UtilMisc.toMap("test", this, "testResult", result));
+                    UtilMisc.toMap("test", this, "testResult", result, "locale", Locale.getDefault()));
 
             // do something with the errorMessage
             String errorMessage = (String) serviceResult.get(ModelService.ERROR_MESSAGE);