Update core/data/src/test/java/com/google/samples/apps/nowinandroid/core/data/repository/OfflineFirstNewsRepositoryTest.kt

Co-authored-by: Don Turner <dturner@users.noreply.github.com>
pull/649/head
Adetunji Dahunsi 2 years ago committed by GitHub
parent f86d174c1b
commit b3f2502ec2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -312,7 +312,7 @@ class OfflineFirstNewsRepositoryTest {
subject.syncWith(synchronizer) subject.syncWith(synchronizer)
val followedNewsResourcesFromNetwork = networkNewsResources val followedNewsResourceIdsFromNetwork = networkNewsResources
.filter { (it.topics intersect followedTopicIds).isNotEmpty() } .filter { (it.topics intersect followedTopicIds).isNotEmpty() }
.map(NetworkNewsResource::id) .map(NetworkNewsResource::id)
.sorted() .sorted()

Loading…
Cancel
Save