From 56b2943fa1e927f9f99a7311a3e8679d694830d4 Mon Sep 17 00:00:00 2001 From: Shinokuni Date: Wed, 28 Feb 2024 22:38:24 +0100 Subject: [PATCH] Fix CI not building --- .../java/com/readrops/app/itemslist/MainActivity.java | 2 +- .../java/com/readrops/db/ItemsQueryBuilderTest.kt | 10 ---------- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/app/src/main/java/com/readrops/app/itemslist/MainActivity.java b/app/src/main/java/com/readrops/app/itemslist/MainActivity.java index b89e32c9..c7339be7 100644 --- a/app/src/main/java/com/readrops/app/itemslist/MainActivity.java +++ b/app/src/main/java/com/readrops/app/itemslist/MainActivity.java @@ -279,7 +279,7 @@ public class MainActivity extends AppCompatActivity implements SwipeRefreshLayou setTitle(R.string.articles); break; case DrawerManager.READ_LATER_ID: - viewModel.setFilterType(FilterType.READ_IT_LATER_FILTER); + //viewModel.setFilterType(FilterType.READ_IT_LATER_FILTER); viewModel.invalidate(); setTitle(R.string.read_later); break; diff --git a/db/src/androidTest/java/com/readrops/db/ItemsQueryBuilderTest.kt b/db/src/androidTest/java/com/readrops/db/ItemsQueryBuilderTest.kt index eeb83cb5..b615bb5a 100644 --- a/db/src/androidTest/java/com/readrops/db/ItemsQueryBuilderTest.kt +++ b/db/src/androidTest/java/com/readrops/db/ItemsQueryBuilderTest.kt @@ -60,16 +60,6 @@ class ItemsQueryBuilderTest { assertTrue(query.sql.contains("feed_id = 15 And read_it_later = 0")) } - @Test - fun readLaterFilterCaseTest() { - val queryFilters = QueryFilters(accountId = 1, filterType = FilterType.READ_IT_LATER_FILTER) - - val query = ItemsQueryBuilder.buildItemsQuery(queryFilters) - database.query(query) - - assertTrue(query.sql.contains("read_it_later = 1")) - } - @Test fun starsFilterCaseTest() { val queryFilters = QueryFilters(accountId = 1, filterType = FilterType.STARS_FILTER)