aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/java/com/iciql/test/ModelsTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java/com/iciql/test/ModelsTest.java')
-rw-r--r--src/test/java/com/iciql/test/ModelsTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/java/com/iciql/test/ModelsTest.java b/src/test/java/com/iciql/test/ModelsTest.java
index 4230f4e..0b43c57 100644
--- a/src/test/java/com/iciql/test/ModelsTest.java
+++ b/src/test/java/com/iciql/test/ModelsTest.java
@@ -170,8 +170,8 @@ public class ModelsTest {
assertEquals(10, myStrings.size());
List<Integer> ids = db.from(SupportedTypes.SAMPLE)
- .orderByDesc(SupportedTypes.SAMPLE.id)
- .selectDistinct(SupportedTypes.SAMPLE.id);
+ .orderByDesc(SupportedTypes.SAMPLE.myInteger)
+ .selectDistinct(SupportedTypes.SAMPLE.myInteger);
assertEquals(10, ids.size());
assertEquals("[10, 9, 8, 7, 6, 5, 4, 3, 2, 1]", ids.toString());
}