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: libraries/session-storage/api/src/main/kotlin/io/element/android/libraries/sessionstorage/api/SessionStore.kt
Copy file name to clipboardExpand all lines: libraries/session-storage/impl/src/main/kotlin/io/element/android/libraries/sessionstorage/impl/DatabaseSessionStore.kt
Copy file name to clipboardExpand all lines: libraries/session-storage/impl/src/test/kotlin/io/element/android/libraries/sessionstorage/impl/DatabaseSessionStoreTest.kt
+6-4Lines changed: 6 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -54,12 +54,14 @@ class DatabaseSessionStoreTest {
54
54
}
55
55
56
56
@Test
57
-
fun`isLoggedIn emits true while there are sessions in the DB`() = runTest {
58
-
databaseSessionStore.isLoggedIn().test {
57
+
fun`loggedInStateFlow emits LoggedIn while there are sessions in the DB`() = runTest {
Copy file name to clipboardExpand all lines: libraries/session-storage/test/src/main/kotlin/io/element/android/libraries/sessionstorage/test/InMemorySessionStore.kt
0 commit comments