From f546fdd31ae2efe6204fed9fc39dc3df544d0324 Mon Sep 17 00:00:00 2001 From: Shinokuni Date: Sun, 4 Jul 2021 13:36:41 +0200 Subject: [PATCH] Fix failing query test --- db/src/test/java/com/readrops/db/ItemsQueryBuilderTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/src/test/java/com/readrops/db/ItemsQueryBuilderTest.kt b/db/src/test/java/com/readrops/db/ItemsQueryBuilderTest.kt index 59fa0e9f..ae2baa01 100644 --- a/db/src/test/java/com/readrops/db/ItemsQueryBuilderTest.kt +++ b/db/src/test/java/com/readrops/db/ItemsQueryBuilderTest.kt @@ -18,7 +18,7 @@ class ItemsQueryBuilderTest { assertTrue(query.contains("Feed.account_id = 1")) assertTrue(query.contains("read_it_later = 0")) - assertTrue(query.contains("Item.id DESC")) + assertTrue(query.contains("pub_date DESC")) assertFalse(query.contains("read = 0 And")) }