mirror of
https://github.com/element-hq/element-android
synced 2024-11-24 18:35:40 +03:00
formatting
This commit is contained in:
parent
f6190b125c
commit
86c9e60129
2 changed files with 2 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue