adding missing loading state when confirming password reset

- adds reset test cases to the onboarding view model
This commit is contained in:
Adam Brown 2022-05-30 13:51:33 +01:00
parent 6b75e2c993
commit 924e668023

View file

@ -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
}