diff --git a/core/data/src/test/java/com/google/samples/apps/nowinandroid/core/data/testdoubles/TestAuthorDao.kt b/core/data/src/test/java/com/google/samples/apps/nowinandroid/core/data/testdoubles/TestAuthorDao.kt index 5cdfb6be3..a740f4a4e 100644 --- a/core/data/src/test/java/com/google/samples/apps/nowinandroid/core/data/testdoubles/TestAuthorDao.kt +++ b/core/data/src/test/java/com/google/samples/apps/nowinandroid/core/data/testdoubles/TestAuthorDao.kt @@ -58,7 +58,7 @@ class TestAuthorDao : AuthorDao { } override suspend fun upsertAuthors(entities: List) { - TODO("Not yet implemented") + entitiesStateFlow.value = entities } override suspend fun deleteAuthors(ids: List) { diff --git a/core/data/src/test/java/com/google/samples/apps/nowinandroid/core/data/testdoubles/TestNewsResourceDao.kt b/core/data/src/test/java/com/google/samples/apps/nowinandroid/core/data/testdoubles/TestNewsResourceDao.kt index d5c0044f3..a91c0fc87 100644 --- a/core/data/src/test/java/com/google/samples/apps/nowinandroid/core/data/testdoubles/TestNewsResourceDao.kt +++ b/core/data/src/test/java/com/google/samples/apps/nowinandroid/core/data/testdoubles/TestNewsResourceDao.kt @@ -86,7 +86,7 @@ class TestNewsResourceDao : NewsResourceDao { } override suspend fun upsertNewsResources(newsResourceEntities: List) { - TODO("Not yet implemented") + entitiesStateFlow.value = newsResourceEntities } override suspend fun insertOrIgnoreTopicCrossRefEntities( diff --git a/core/data/src/test/java/com/google/samples/apps/nowinandroid/core/data/testdoubles/TestTopicDao.kt b/core/data/src/test/java/com/google/samples/apps/nowinandroid/core/data/testdoubles/TestTopicDao.kt index 7f2efffc5..50910ddd2 100644 --- a/core/data/src/test/java/com/google/samples/apps/nowinandroid/core/data/testdoubles/TestTopicDao.kt +++ b/core/data/src/test/java/com/google/samples/apps/nowinandroid/core/data/testdoubles/TestTopicDao.kt @@ -63,7 +63,7 @@ class TestTopicDao : TopicDao { } override suspend fun upsertTopics(entities: List) { - TODO("Not yet implemented") + entitiesStateFlow.value = entities } override suspend fun deleteTopics(ids: List) {