mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-10-31 16:22:49 +00:00
Add unit test on DefaultLockScreenService
This commit is contained in:
+2
-2
@@ -28,7 +28,7 @@ class FakeSessionObserver : SessionObserver {
|
||||
listeners.forEach { it.onSessionCreated(userId) }
|
||||
}
|
||||
|
||||
suspend fun onSessionDeleted(userId: String) {
|
||||
listeners.forEach { it.onSessionDeleted(userId, false) }
|
||||
suspend fun onSessionDeleted(userId: String, wasLastSession: Boolean = true) {
|
||||
listeners.forEach { it.onSessionDeleted(userId, wasLastSession = wasLastSession) }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user