Author: lektran
Date: Mon Jan 18 18:56:24 2010
New Revision: 900512

URL: http://svn.apache.org/viewvc?rev=900512&view=rev
Log:
Merged from trunk r900511:
Fixed bug reported by Wickersheimer Jeremy, OFBIZ-3302. Because the 
testEntityListIterator test depends on the correct ordering of the find 
results, explicitly specify the correct order rather than depending on the 
database to get it right.

Modified:
    
ofbiz/branches/release09.04/framework/entity/src/org/ofbiz/entity/test/EntityTestSuite.java

Modified: 
ofbiz/branches/release09.04/framework/entity/src/org/ofbiz/entity/test/EntityTestSuite.java
URL: 
http://svn.apache.org/viewvc/ofbiz/branches/release09.04/framework/entity/src/org/ofbiz/entity/test/EntityTestSuite.java?rev=900512&r1=900511&r2=900512&view=diff
==============================================================================
--- 
ofbiz/branches/release09.04/framework/entity/src/org/ofbiz/entity/test/EntityTestSuite.java
 (original)
+++ 
ofbiz/branches/release09.04/framework/entity/src/org/ofbiz/entity/test/EntityTestSuite.java
 Mon Jan 18 18:56:24 2010
@@ -400,7 +400,7 @@
      */
     public void testEntityListIterator() throws Exception {
         try {
-            EntityListIterator iterator = delegator.find("Testing", 
EntityCondition.makeCondition("testingId", EntityOperator.LIKE, "T2-%"), null, 
null, null, null);
+            EntityListIterator iterator = delegator.find("Testing", 
EntityCondition.makeCondition("testingId", EntityOperator.LIKE, "T2-%"), null, 
null, UtilMisc.toList("testingId"), null);
             assertTrue("Test if EntityListIterator was created: ", iterator != 
null);
 
             int i = 0;


Reply via email to