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-chat-android-client/src/main/java/io/getstream/chat/android/client/internal/offline/repository/domain/message/internal/DatabaseMessageRepository.kt
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -260,6 +260,7 @@ internal class DatabaseMessageRepository(
Copy file name to clipboardExpand all lines: stream-chat-android-client/src/main/java/io/getstream/chat/android/client/internal/offline/repository/domain/message/internal/MessageDao.kt
Copy file name to clipboardExpand all lines: stream-chat-android-client/src/test/java/io/getstream/chat/android/client/internal/offline/repository/MessageRepositoryTests.kt
+22Lines changed: 22 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -217,4 +217,26 @@ internal class MessageRepositoryTests {
217
217
// then
218
218
verify(messageDao).deleteMessages(messageIds)
219
219
}
220
+
221
+
@Test
222
+
fun`when calling clear, then all related tables are cleared`() = runTest(testDispatcher) {
0 commit comments