Fix closing deactivated accounts in tests
This commit is contained in:
parent
3332d827f0
commit
adb5b4c1b9
@ -110,7 +110,11 @@ class CommonTestHelper private constructor(context: Context) {
|
|||||||
fun cleanUpOpenedSessions() {
|
fun cleanUpOpenedSessions() {
|
||||||
trackedSessions.forEach {
|
trackedSessions.forEach {
|
||||||
runBlockingTest {
|
runBlockingTest {
|
||||||
it.signOutService().signOut(true)
|
try {
|
||||||
|
it.signOutService().signOut(true)
|
||||||
|
} catch (failure: Throwable) {
|
||||||
|
// Well, as long as you tried.
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
trackedSessions.clear()
|
trackedSessions.clear()
|
||||||
|
Loading…
Reference in New Issue
Block a user