1
0
Fork 0
mirror of https://github.com/anyproto/anytype-kotlin.git synced 2025-06-08 05:47:05 +09:00

DROID-2686 App | Tech | AwaitAccountStart refactoring - get rid of boolean, introduce explicit state (#1531)

This commit is contained in:
Evgenii Kozlov 2024-09-03 18:27:55 +02:00 committed by GitHub
parent 22d78b0727
commit c6fb926fe2
Signed by: github
GPG key ID: B5690EEEBB952194
15 changed files with 74 additions and 57 deletions

View file

@ -112,7 +112,7 @@ class MembershipProviderTest {
}
whenever(localeProvider.language()).thenReturn("en")
awaitAccountStartManager.setIsStarted(true)
awaitAccountStartManager.setState(AwaitAccountStartManager.State.Started)
val membershipProviderFlow = provider.status().testIn(backgroundScope)
val membershipProviderFlow1 = provider.status().testIn(backgroundScope)
val membershipProviderFlow2 = provider.activeTier().testIn(backgroundScope)