Skip to content

Commit c6588b0

Browse files
authored
Merge pull request #1798 from eyhgpt/patch-1
Update OfflineFirstTopicsRepositoryTest.kt
2 parents 21c14ef + b7973ee commit c6588b0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

core/data/src/test/kotlin/com/google/samples/apps/nowinandroid/core/data/repository/OfflineFirstTopicsRepositoryTest.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ class OfflineFirstTopicsRepositoryTest {
6767
@Test
6868
fun offlineFirstTopicsRepository_topics_stream_is_backed_by_topics_dao() =
6969
testScope.runTest {
70+
subject.syncWith(synchronizer)
71+
7072
assertEquals(
7173
topicDao.getTopicEntities()
7274
.first()

0 commit comments

Comments
 (0)