Printing warning if TAN is required

This commit is contained in:
dankito 2024-10-16 20:06:49 +02:00
parent 2b0f9fcc71
commit 52db7be2f6
1 changed files with 4 additions and 0 deletions

View File

@ -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))
})