Printing warning if TAN is required
This commit is contained in:
parent
2b0f9fcc71
commit
52db7be2f6
|
@ -3,6 +3,7 @@ package net.codinux.banking.client.fints4k
|
||||||
import kotlinx.coroutines.test.runTest
|
import kotlinx.coroutines.test.runTest
|
||||||
import net.codinux.banking.client.SimpleBankingClientCallback
|
import net.codinux.banking.client.SimpleBankingClientCallback
|
||||||
import net.codinux.banking.client.model.response.ResponseType
|
import net.codinux.banking.client.model.response.ResponseType
|
||||||
|
import net.codinux.banking.client.model.tan.EnterTanResult
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
@Ignore
|
@Ignore
|
||||||
|
@ -18,7 +19,10 @@ class FinTs4kBankingClientTest {
|
||||||
|
|
||||||
|
|
||||||
private val underTest = FinTs4kBankingClientForUser(bankCode, loginName, password, SimpleBankingClientCallback { tanChallenge, callback ->
|
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))
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue