From 52db7be2f6d7f87bc4675d69822c8c55bad2e11f Mon Sep 17 00:00:00 2001 From: dankito Date: Wed, 16 Oct 2024 20:06:49 +0200 Subject: [PATCH] Printing warning if TAN is required --- .../banking/client/fints4k/FinTs4kBankingClientTest.kt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/FinTs4jBankingClient/src/commonTest/kotlin/net/codinux/banking/client/fints4k/FinTs4kBankingClientTest.kt b/FinTs4jBankingClient/src/commonTest/kotlin/net/codinux/banking/client/fints4k/FinTs4kBankingClientTest.kt index af6b4b2b..093df9e1 100644 --- a/FinTs4jBankingClient/src/commonTest/kotlin/net/codinux/banking/client/fints4k/FinTs4kBankingClientTest.kt +++ b/FinTs4jBankingClient/src/commonTest/kotlin/net/codinux/banking/client/fints4k/FinTs4kBankingClientTest.kt @@ -3,6 +3,7 @@ package net.codinux.banking.client.fints4k import kotlinx.coroutines.test.runTest import net.codinux.banking.client.SimpleBankingClientCallback import net.codinux.banking.client.model.response.ResponseType +import net.codinux.banking.client.model.tan.EnterTanResult import kotlin.test.* @Ignore @@ -18,7 +19,10 @@ class FinTs4kBankingClientTest { private val underTest = FinTs4kBankingClientForUser(bankCode, loginName, password, SimpleBankingClientCallback { tanChallenge, callback -> + println("WARN: TAN is required to execute test: ${tanChallenge.messageToShowToUser}") + val enteredTan: String? = null + callback(EnterTanResult(enteredTan)) })