From 7b57e449ba69c63bc2a9ba3890dccb32afe0da25 Mon Sep 17 00:00:00 2001 From: dankl Date: Wed, 1 Jan 2020 18:47:59 +0100 Subject: [PATCH] Fixed FinTsClientTest.getTransactions() --- fints4javaLib/src/main/kotlin/net/dankito/fints/FinTsClient.kt | 2 +- .../src/test/kotlin/net/dankito/fints/FinTsClientTest.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fints4javaLib/src/main/kotlin/net/dankito/fints/FinTsClient.kt b/fints4javaLib/src/main/kotlin/net/dankito/fints/FinTsClient.kt index ec8a2ae4..24d15427 100644 --- a/fints4javaLib/src/main/kotlin/net/dankito/fints/FinTsClient.kt +++ b/fints4javaLib/src/main/kotlin/net/dankito/fints/FinTsClient.kt @@ -171,7 +171,7 @@ open class FinTsClient @JvmOverloads constructor( * * Check if bank supports this. */ - protected open fun tryGetTransactionsOfLast90DaysWithoutTan(bank: BankData, customer: CustomerData, + open fun tryGetTransactionsOfLast90DaysWithoutTan(bank: BankData, customer: CustomerData, hasRetrievedTransactionsWithTanJustBefore: Boolean): GetTransactionsResponse { val ninetyDaysAgo = Date(Date().time - NinetyDaysAgoMilliseconds) diff --git a/fints4javaLib/src/test/kotlin/net/dankito/fints/FinTsClientTest.kt b/fints4javaLib/src/test/kotlin/net/dankito/fints/FinTsClientTest.kt index eabfa675..502df397 100644 --- a/fints4javaLib/src/test/kotlin/net/dankito/fints/FinTsClientTest.kt +++ b/fints4javaLib/src/test/kotlin/net/dankito/fints/FinTsClientTest.kt @@ -134,7 +134,7 @@ class FinTsClientTest { // when // some banks support retrieving account transactions of last 90 days without TAN - val result = underTest.tryGetTransactionsOfLast90DaysWithoutTan(Bank, Customer) + val result = underTest.tryGetTransactionsOfLast90DaysWithoutTan(Bank, Customer, false) // then