cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ntimof...@apache.org
Subject cayenne git commit: CAY-2381 fix failing test
Date Fri, 08 Dec 2017 13:34:10 GMT
Repository: cayenne
Updated Branches:
  refs/heads/master 74ff3fdeb -> eb82a0f99


CAY-2381 fix failing test


Project: http://git-wip-us.apache.org/repos/asf/cayenne/repo
Commit: http://git-wip-us.apache.org/repos/asf/cayenne/commit/eb82a0f9
Tree: http://git-wip-us.apache.org/repos/asf/cayenne/tree/eb82a0f9
Diff: http://git-wip-us.apache.org/repos/asf/cayenne/diff/eb82a0f9

Branch: refs/heads/master
Commit: eb82a0f991576606730a572d89412c9772906acb
Parents: 74ff3fd
Author: Nikita Timofeev <stariy95@gmail.com>
Authored: Fri Dec 8 16:29:51 2017 +0300
Committer: Nikita Timofeev <stariy95@gmail.com>
Committed: Fri Dec 8 16:29:51 2017 +0300

----------------------------------------------------------------------
 .../org/apache/cayenne/access/DataContextEJBQLDeletePKIT.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cayenne/blob/eb82a0f9/cayenne-server/src/test/java/org/apache/cayenne/access/DataContextEJBQLDeletePKIT.java
----------------------------------------------------------------------
diff --git a/cayenne-server/src/test/java/org/apache/cayenne/access/DataContextEJBQLDeletePKIT.java
b/cayenne-server/src/test/java/org/apache/cayenne/access/DataContextEJBQLDeletePKIT.java
index 2c51672..2c593d5 100644
--- a/cayenne-server/src/test/java/org/apache/cayenne/access/DataContextEJBQLDeletePKIT.java
+++ b/cayenne-server/src/test/java/org/apache/cayenne/access/DataContextEJBQLDeletePKIT.java
@@ -50,12 +50,12 @@ public class DataContextEJBQLDeletePKIT extends ServerCase {
     @Before
     public void setUp() throws Exception {
         tMeaningfulPKTest1Table = new TableHelper(dbHelper, "MEANINGFUL_PK_TEST1");
-        tMeaningfulPKTest1Table.setColumns("PK_ATTRIBUTE", "DESCR");
+        tMeaningfulPKTest1Table.setColumns("PK_ATTRIBUTE", "DESCR", "INT_ATTRIBUTE");
     }
 
     protected void createMeaningfulPKDataSet() throws Exception {
         for (int i = 1; i <= 33; i++) {
-            tMeaningfulPKTest1Table.insert(i, "a" + i);
+            tMeaningfulPKTest1Table.insert(i, "a" + i, 0);
         }
     }
 


Mime
View raw message