Author: jacopoc
Date: Thu Nov 13 15:40:50 2014
New Revision: 1639374

URL: http://svn.apache.org/r1639374
Log:
Backporting of rev. 1639373: Improved unit test that was failing when executed 
in certain platforms.

Modified:
    
ofbiz/branches/release13.07/framework/entity/src/org/ofbiz/entity/test/EntityTestSuite.java

Modified: 
ofbiz/branches/release13.07/framework/entity/src/org/ofbiz/entity/test/EntityTestSuite.java
URL: 
http://svn.apache.org/viewvc/ofbiz/branches/release13.07/framework/entity/src/org/ofbiz/entity/test/EntityTestSuite.java?rev=1639374&r1=1639373&r2=1639374&view=diff
==============================================================================
--- 
ofbiz/branches/release13.07/framework/entity/src/org/ofbiz/entity/test/EntityTestSuite.java
 (original)
+++ 
ofbiz/branches/release13.07/framework/entity/src/org/ofbiz/entity/test/EntityTestSuite.java
 Thu Nov 13 15:40:50 2014
@@ -402,7 +402,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