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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

jleroux@apache.org
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);