You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: stream-feeds-android-client/src/main/kotlin/io/getstream/feeds/android/client/internal/repository/FeedsCapabilityRepository.kt
+7-10Lines changed: 7 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -44,18 +44,15 @@ internal class FeedsCapabilityRepository(
Copy file name to clipboardExpand all lines: stream-feeds-android-client/src/test/kotlin/io/getstream/feeds/android/client/internal/repository/FeedsCapabilityRepositoryTest.kt
+12-10Lines changed: 12 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -57,18 +57,20 @@ internal class FeedsCapabilityRepositoryTest {
57
57
)
58
58
59
59
@Test
60
-
fun`cache when given capabilities, store them in cache and notify`() {
61
-
val feedId1 =FeedId("user:1")
62
-
val feedId2 =FeedId("user:2")
63
-
val capabilities =
64
-
mapOf(
65
-
feedId1 to setOf(FeedOwnCapability.ReadFeed, FeedOwnCapability.AddActivity),
66
-
feedId2 to setOf(FeedOwnCapability.ReadFeed),
67
-
)
60
+
fun`cache when given same capabilities, notify only on changes`() {
61
+
val capabilities1 =mapOf(FeedId("user:1") to setOf(FeedOwnCapability.ReadFeed))
62
+
val capabilities2 =mapOf(FeedId("user:2") to setOf(FeedOwnCapability.AddActivity))
0 commit comments