formatting

This commit is contained in:
Adam Brown 2022-05-17 10:46:15 +01:00
parent f6190b125c
commit 86c9e60129
2 changed files with 2 additions and 3 deletions

View file

@ -25,7 +25,7 @@ import org.matrix.android.sdk.api.auth.data.Credentials
import org.matrix.android.sdk.api.network.ssl.Fingerprint import org.matrix.android.sdk.api.network.ssl.Fingerprint
sealed interface OnboardingAction : VectorViewModelAction { sealed interface OnboardingAction : VectorViewModelAction {
sealed interface SplashAction: OnboardingAction { sealed interface SplashAction : OnboardingAction {
val onboardingFlow: OnboardingFlow val onboardingFlow: OnboardingFlow
data class OnGetStarted(override val onboardingFlow: OnboardingFlow) : SplashAction data class OnGetStarted(override val onboardingFlow: OnboardingFlow) : SplashAction

View file

@ -22,7 +22,6 @@ import im.vector.app.test.fixtures.aHomeserverUnavailableError
import io.mockk.coEvery import io.mockk.coEvery
import io.mockk.mockk import io.mockk.mockk
import org.matrix.android.sdk.api.auth.data.HomeServerConnectionConfig import org.matrix.android.sdk.api.auth.data.HomeServerConnectionConfig
import org.matrix.android.sdk.api.failure.Failure
class FakeStartAuthenticationFlowUseCase { class FakeStartAuthenticationFlowUseCase {
@ -33,6 +32,6 @@ class FakeStartAuthenticationFlowUseCase {
} }
fun givenHomeserverUnavailable(config: HomeServerConnectionConfig) { fun givenHomeserverUnavailable(config: HomeServerConnectionConfig) {
coEvery { instance.execute(config) } throws aHomeserverUnavailableError() coEvery { instance.execute(config) } throws aHomeserverUnavailableError()
} }
} }