mirror of
https://github.com/element-hq/element-android
synced 2024-11-27 20:06:51 +03: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
1 changed files with 4 additions and 0 deletions
|
@ -41,6 +41,10 @@ class FakeAuthenticationService : AuthenticationService by mockk() {
|
|||
every { getLoginWizard() } returns loginWizard
|
||||
}
|
||||
|
||||
fun givenLoginWizard(loginWizard: LoginWizard) {
|
||||
every { getLoginWizard() } returns loginWizard
|
||||
}
|
||||
|
||||
fun givenLoginFlow(config: HomeServerConnectionConfig, result: LoginFlowResult) {
|
||||
coEvery { getLoginFlow(config) } returns result
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue