mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-23 18:05:59 +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
|
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
|
||||||
|
|
|
@ -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()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue