cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ntimof...@apache.org
Subject cayenne git commit: Fix test: insert String instead of char
Date Wed, 27 Sep 2017 09:16:50 GMT
Repository: cayenne
Updated Branches:
  refs/heads/master 0c9098138 -> 75d126490


Fix test: insert String instead of char


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

Branch: refs/heads/master
Commit: 75d126490827e71db1c6fa707256218c3c951840
Parents: 0c90981
Author: Nikita Timofeev <stariy95@gmail.com>
Authored: Wed Sep 27 12:16:41 2017 +0300
Committer: Nikita Timofeev <stariy95@gmail.com>
Committed: Wed Sep 27 12:16:41 2017 +0300

----------------------------------------------------------------------
 .../test/java/org/apache/cayenne/access/PrimitiveAttributesIT.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cayenne/blob/75d12649/cayenne-server/src/test/java/org/apache/cayenne/access/PrimitiveAttributesIT.java
----------------------------------------------------------------------
diff --git a/cayenne-server/src/test/java/org/apache/cayenne/access/PrimitiveAttributesIT.java
b/cayenne-server/src/test/java/org/apache/cayenne/access/PrimitiveAttributesIT.java
index 521a1de..f693bc3 100644
--- a/cayenne-server/src/test/java/org/apache/cayenne/access/PrimitiveAttributesIT.java
+++ b/cayenne-server/src/test/java/org/apache/cayenne/access/PrimitiveAttributesIT.java
@@ -59,7 +59,7 @@ public class PrimitiveAttributesIT extends ServerCase {
         TableHelper tPrimitives = new TableHelper(dbHelper, "PRIMITIVES_TEST");
         tPrimitives.setColumns("ID", "BOOLEAN_COLUMN", "INT_COLUMN", "CHAR_COLUMN");
         for (int i = 1; i <= 20; i++) {
-            tPrimitives.insert(i, (i % 2 == 0), i * 10, (char) ('a' + i));
+            tPrimitives.insert(i, (i % 2 == 0), i * 10, String.valueOf((char)('a' + i)));
         }
 
         List<PrimitivesTestEntity> result = ObjectSelect.query(PrimitivesTestEntity.class)


Mime
View raw message