Include database return definition within test function
This commit is contained in:
parent
41c951b659
commit
7517626ab7
@ -269,6 +269,7 @@ class RepositoryTest() {
|
|||||||
fun `Reload badges with items caching`() {
|
fun `Reload badges with items caching`() {
|
||||||
every { connectivityStatus.isNetworkConnected } returns MutableStateFlow(false)
|
every { connectivityStatus.isNetworkConnected } returns MutableStateFlow(false)
|
||||||
every { appSettingsService.isItemCachingEnabled() } returns true
|
every { appSettingsService.isItemCachingEnabled() } returns true
|
||||||
|
every { db.itemsQueries.items().executeAsList() } returns generateTestDBItems()
|
||||||
|
|
||||||
val itemParameter = FakeItemParameters()
|
val itemParameter = FakeItemParameters()
|
||||||
itemParameter.starred = true
|
itemParameter.starred = true
|
||||||
|
Loading…
Reference in New Issue
Block a user