Fixed FinTsClientTest.getTransactions()

This commit is contained in:
dankl 2020-01-01 18:47:59 +01:00 committed by dankito
parent fcec18fc15
commit 7b57e449ba
2 changed files with 2 additions and 2 deletions

View File

@ -171,7 +171,7 @@ open class FinTsClient @JvmOverloads constructor(
* *
* Check if bank supports this. * Check if bank supports this.
*/ */
protected open fun tryGetTransactionsOfLast90DaysWithoutTan(bank: BankData, customer: CustomerData, open fun tryGetTransactionsOfLast90DaysWithoutTan(bank: BankData, customer: CustomerData,
hasRetrievedTransactionsWithTanJustBefore: Boolean): GetTransactionsResponse { hasRetrievedTransactionsWithTanJustBefore: Boolean): GetTransactionsResponse {
val ninetyDaysAgo = Date(Date().time - NinetyDaysAgoMilliseconds) val ninetyDaysAgo = Date(Date().time - NinetyDaysAgoMilliseconds)

View File

@ -134,7 +134,7 @@ class FinTsClientTest {
// when // when
// some banks support retrieving account transactions of last 90 days without TAN // 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 // then