Add unit test on DefaultLockScreenService
This commit is contained in:
parent
e427d8851e
commit
bc8db88a03
3 changed files with 113 additions and 7 deletions
|
|
@ -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) }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue