mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-18 04:08:44 +03:00
Fix closing deactivated accounts in tests
This commit is contained in:
parent
3332d827f0
commit
adb5b4c1b9
1 changed files with 5 additions and 1 deletions
|
@ -110,7 +110,11 @@ class CommonTestHelper private constructor(context: Context) {
|
|||
fun cleanUpOpenedSessions() {
|
||||
trackedSessions.forEach {
|
||||
runBlockingTest {
|
||||
it.signOutService().signOut(true)
|
||||
try {
|
||||
it.signOutService().signOut(true)
|
||||
} catch (failure: Throwable) {
|
||||
// Well, as long as you tried.
|
||||
}
|
||||
}
|
||||
}
|
||||
trackedSessions.clear()
|
||||
|
|
Loading…
Add table
Reference in a new issue