Fix CI not building

This commit is contained in:
Shinokuni 2024-02-28 22:38:24 +01:00
parent 3a5db09385
commit 56b2943fa1
2 changed files with 1 additions and 11 deletions

View File

@ -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;

View File

@ -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)