summaryrefslogtreecommitdiffstats
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/com/iciql/test/PrimitivesTest.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/java/com/iciql/test/PrimitivesTest.java b/src/test/java/com/iciql/test/PrimitivesTest.java
index 3d3811e..0e8bf20 100644
--- a/src/test/java/com/iciql/test/PrimitivesTest.java
+++ b/src/test/java/com/iciql/test/PrimitivesTest.java
@@ -79,17 +79,17 @@ public class PrimitivesTest {
// test model update
retrievedModel.myInteger = 1337;
- assertEquals(1, db.update(retrievedModel));
- assertEquals(1, db.delete(retrievedModel));
+ assertTrue(db.update(retrievedModel));
+ assertTrue(db.delete(retrievedModel));
db.close();
}
-
+
@Test
public void testMultipleBooleans() {
Db db = IciqlSuite.openNewDb();
db.insertAll(MultipleBoolsModel.getList());
-
+
MultipleBoolsModel m = new MultipleBoolsModel();
try {
db.from(m).where(m.a).is(true).select();