Fixed FinTsClientTest.getTransactions()
This commit is contained in:
parent
fcec18fc15
commit
7b57e449ba
|
@ -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)
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue