Add missing suspend

recent_search
Takeshi Hagikura 2 years ago
parent 696cc1a783
commit 179b3d4ebf

@ -63,7 +63,7 @@ class TestNewsResourceDao : NewsResourceDao {
result result
} }
override fun getOneOffNewsResources(): List<PopulatedNewsResource> = emptyList() override suspend fun getOneOffNewsResources(): List<PopulatedNewsResource> = emptyList()
override suspend fun insertOrIgnoreNewsResources( override suspend fun insertOrIgnoreNewsResources(
entities: List<NewsResourceEntity>, entities: List<NewsResourceEntity>,

@ -43,7 +43,7 @@ class TestTopicDao : TopicDao {
getTopicEntities() getTopicEntities()
.map { topics -> topics.filter { it.id in ids } } .map { topics -> topics.filter { it.id in ids } }
override fun getOneOffTopicEntities(): List<TopicEntity> = emptyList() override suspend fun getOneOffTopicEntities(): List<TopicEntity> = emptyList()
override suspend fun insertOrIgnoreTopics(topicEntities: List<TopicEntity>): List<Long> { override suspend fun insertOrIgnoreTopics(topicEntities: List<TopicEntity>): List<Long> {
// Keep old values over new values // Keep old values over new values

Loading…
Cancel
Save