From 86c9e601291fe120ff8ed791efa4102dae3cd78f Mon Sep 17 00:00:00 2001 From: Adam Brown Date: Tue, 17 May 2022 10:46:15 +0100 Subject: [PATCH] formatting --- .../java/im/vector/app/features/onboarding/OnboardingAction.kt | 2 +- .../app/test/fakes/FakeStartAuthenticationFlowUseCase.kt | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/vector/src/main/java/im/vector/app/features/onboarding/OnboardingAction.kt b/vector/src/main/java/im/vector/app/features/onboarding/OnboardingAction.kt index ce387d29fa..bd2ff1a26a 100644 --- a/vector/src/main/java/im/vector/app/features/onboarding/OnboardingAction.kt +++ b/vector/src/main/java/im/vector/app/features/onboarding/OnboardingAction.kt @@ -25,7 +25,7 @@ import org.matrix.android.sdk.api.auth.data.Credentials import org.matrix.android.sdk.api.network.ssl.Fingerprint sealed interface OnboardingAction : VectorViewModelAction { - sealed interface SplashAction: OnboardingAction { + sealed interface SplashAction : OnboardingAction { val onboardingFlow: OnboardingFlow data class OnGetStarted(override val onboardingFlow: OnboardingFlow) : SplashAction diff --git a/vector/src/test/java/im/vector/app/test/fakes/FakeStartAuthenticationFlowUseCase.kt b/vector/src/test/java/im/vector/app/test/fakes/FakeStartAuthenticationFlowUseCase.kt index 88ad1a7a6b..bfbef9e565 100644 --- a/vector/src/test/java/im/vector/app/test/fakes/FakeStartAuthenticationFlowUseCase.kt +++ b/vector/src/test/java/im/vector/app/test/fakes/FakeStartAuthenticationFlowUseCase.kt @@ -22,7 +22,6 @@ import im.vector.app.test.fixtures.aHomeserverUnavailableError import io.mockk.coEvery import io.mockk.mockk import org.matrix.android.sdk.api.auth.data.HomeServerConnectionConfig -import org.matrix.android.sdk.api.failure.Failure class FakeStartAuthenticationFlowUseCase { @@ -33,6 +32,6 @@ class FakeStartAuthenticationFlowUseCase { } fun givenHomeserverUnavailable(config: HomeServerConnectionConfig) { - coEvery { instance.execute(config) } throws aHomeserverUnavailableError() + coEvery { instance.execute(config) } throws aHomeserverUnavailableError() } }