Author: jacopoc
Date: Thu Nov 13 15:39:54 2014
New Revision: 1639373

URL: http://svn.apache.org/r1639373
Log:
Improved unit test that was failing when executed in certain platforms.

Modified:
    ofbiz/trunk/framework/entity/src/org/ofbiz/entity/test/EntityTestSuite.java

Modified: 
ofbiz/trunk/framework/entity/src/org/ofbiz/entity/test/EntityTestSuite.java
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/test/EntityTestSuite.java?rev=1639373&r1=1639372&r2=1639373&view=diff
==============================================================================
--- ofbiz/trunk/framework/entity/src/org/ofbiz/entity/test/EntityTestSuite.java 
(original)
+++ ofbiz/trunk/framework/entity/src/org/ofbiz/entity/test/EntityTestSuite.java 
Thu Nov 13 15:39:54 2014
@@ -407,7 +407,7 @@ public class EntityTestSuite extends Ent
      * Tests findByCondition and tests searching on a view-entity
      */
     public void testCountViews() throws Exception {
-        delegator.removeByCondition("Testing", 
EntityCondition.makeCondition("testingId", EntityOperator.LIKE, 
"TEST-COUNT-VIEW-%"));
+        delegator.removeByCondition("Testing", 
EntityCondition.makeCondition("testingTypeId", EntityOperator.EQUALS, 
"TEST-COUNT-VIEW"));
         flushAndRecreateTree("count-views");
         createNodeMembers("TEST-COUNT-VIEW", "Testing Type #Count", 
"count-views");
 


Reply via email to