Removes HomeServerConnectionConfigFixture in fake adapter

This commit is contained in:
ericdecanini 2022-03-04 23:27:21 +01:00
parent 7896bf9023
commit 9bd3254e41

View file

@ -22,7 +22,6 @@ 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.test.fakes.internal.auth.db.sessionparams.FakeSessionParamsMapperMoshi.Companion.sessionParams import org.matrix.android.sdk.test.fakes.internal.auth.db.sessionparams.FakeSessionParamsMapperMoshi.Companion.sessionParams
import org.matrix.android.sdk.test.fakes.internal.auth.db.sessionparams.FakeSessionParamsMapperMoshi.Companion.sessionParamsEntity import org.matrix.android.sdk.test.fakes.internal.auth.db.sessionparams.FakeSessionParamsMapperMoshi.Companion.sessionParamsEntity
import org.matrix.android.sdk.test.fixtures.HomeServerConnectionConfigFixture.aHomeServerConnectionConfig
internal class FakeHomeServerConnectionConfigJsonAdapter { internal class FakeHomeServerConnectionConfigJsonAdapter {
@ -42,7 +41,7 @@ internal class FakeHomeServerConnectionConfigJsonAdapter {
} }
companion object { companion object {
val homeServerConnectionConfig = aHomeServerConnectionConfig() val homeServerConnectionConfig = HomeServerConnectionConfig.Builder().withHomeServerUri("homeserver").build()
const val HOME_SERVER_CONNECTION_CONFIG_JSON = "home_server_connection_config_json" const val HOME_SERVER_CONNECTION_CONFIG_JSON = "home_server_connection_config_json"
} }
} }