db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tfisc...@apache.org
Subject svn commit: r1704088 - /db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/DataTest.java
Date Sat, 19 Sep 2015 20:41:33 GMT
Author: tfischer
Date: Sat Sep 19 20:41:33 2015
New Revision: 1704088

URL: http://svn.apache.org/viewvc?rev=1704088&view=rev
Log:
fix test error when tests are run in non-standard order

Modified:
    db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/DataTest.java

Modified: db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/DataTest.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/DataTest.java?rev=1704088&r1=1704087&r2=1704088&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/DataTest.java (original)
+++ db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/DataTest.java Sat
Sep 19 20:41:33 2015
@@ -227,6 +227,8 @@ public class DataTest extends BaseDataba
      */
     public void testSingleRecord() throws Exception
     {
+        cleanBookstore();
+        insertBookstoreData();
         Criteria criteria = new Criteria();
         criteria.setSingleRecord(true);
         criteria.setLimit(1);



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message