mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-02 12:16:55 +01:00
adding missing loading state when confirming password reset
- adds reset test cases to the onboarding view model
This commit is contained in:
parent
6b75e2c993
commit
924e668023
@ -41,6 +41,10 @@ class FakeAuthenticationService : AuthenticationService by mockk() {
|
|||||||
every { getLoginWizard() } returns loginWizard
|
every { getLoginWizard() } returns loginWizard
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fun givenLoginWizard(loginWizard: LoginWizard) {
|
||||||
|
every { getLoginWizard() } returns loginWizard
|
||||||
|
}
|
||||||
|
|
||||||
fun givenLoginFlow(config: HomeServerConnectionConfig, result: LoginFlowResult) {
|
fun givenLoginFlow(config: HomeServerConnectionConfig, result: LoginFlowResult) {
|
||||||
coEvery { getLoginFlow(config) } returns result
|
coEvery { getLoginFlow(config) } returns result
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user