From b86814a22708c26db18ff2598f28b97308a65285 Mon Sep 17 00:00:00 2001 From: alexandreferris Date: Wed, 14 Aug 2024 15:55:32 +0200 Subject: [PATCH] feat: add dummy server config for tests --- .../logic/configuration/server/ServerConfig.kt | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/logic/src/commonMain/kotlin/com/wire/kalium/logic/configuration/server/ServerConfig.kt b/logic/src/commonMain/kotlin/com/wire/kalium/logic/configuration/server/ServerConfig.kt index 149493abf25..3bb8a0273a8 100644 --- a/logic/src/commonMain/kotlin/com/wire/kalium/logic/configuration/server/ServerConfig.kt +++ b/logic/src/commonMain/kotlin/com/wire/kalium/logic/configuration/server/ServerConfig.kt @@ -134,6 +134,19 @@ data class ServerConfig( isOnPremises = false, apiProxy = null ) + + val DUMMY = Links( + api = """https://dummy-nginz-https.zinfra.io""", + accounts = """https://wire-account-dummy.zinfra.io""", + webSocket = """https://dummy-nginz-ssl.zinfra.io""", + teams = """https://wire-teams-dummy.zinfra.io""", + blackList = """https://clientblacklist.wire.com/dummy""", + website = """https://dummy.wire.com""", + title = "dummy", + isOnPremises = false, + apiProxy = null + ) + val DEFAULT = PRODUCTION private const val FORGOT_PASSWORD_PATH = "forgot"