Updated on 2026-08-14
This commit is contained in:
parent
b73b6c3fe7
commit
d5299f8094
15 changed files with 119 additions and 10 deletions
|
|
@ -89,6 +89,7 @@ internal class ProdApiConfigsManagerTest(private val model: Model) {
|
|||
is StakeKit -> createStakeKitModel()
|
||||
is TangemVisaAuth -> createVisaAuthModel()
|
||||
is TangemVisa -> createVisaModel()
|
||||
is TangemCardSdk -> createTangemCardSdkModel()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -204,6 +205,16 @@ internal class ProdApiConfigsManagerTest(private val model: Model) {
|
|||
)
|
||||
}
|
||||
|
||||
private fun createTangemCardSdkModel(): Model {
|
||||
return Model(
|
||||
id = ApiConfig.ID.TangemCardSdk,
|
||||
expected = ApiEnvironmentConfig(
|
||||
environment = ApiEnvironment.PROD,
|
||||
baseUrl = "https://api.tangem-tech.com/",
|
||||
),
|
||||
)
|
||||
}
|
||||
|
||||
private fun String.checkHeaderValueOrEmpty(): String {
|
||||
for (i in this.indices) {
|
||||
val c = this[i]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue