From 46783b6118284d2615138341afe358a1b0d78dd7 Mon Sep 17 00:00:00 2001 From: dankito Date: Sun, 5 Jul 2020 11:21:48 +0200 Subject: [PATCH] Fixed that Ionspin BigDecimal hasn't been removed --- .../kotlin/net/dankito/banking/fints/FinTsClientTestBase.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fints4k/src/commonTest/kotlin/net/dankito/banking/fints/FinTsClientTestBase.kt b/fints4k/src/commonTest/kotlin/net/dankito/banking/fints/FinTsClientTestBase.kt index 5259daaf..85d380f1 100644 --- a/fints4k/src/commonTest/kotlin/net/dankito/banking/fints/FinTsClientTestBase.kt +++ b/fints4k/src/commonTest/kotlin/net/dankito/banking/fints/FinTsClientTestBase.kt @@ -3,7 +3,6 @@ package net.dankito.banking.fints import ch.tutteli.atrium.api.fluent.en_GB.* import ch.tutteli.atrium.api.verbs.expect import com.benasher44.uuid.uuid4 -import com.ionspin.kotlin.bignum.decimal.toBigDecimal import com.soywiz.klock.DateFormat import com.soywiz.klock.DateTimeTz import net.dankito.banking.bankfinder.InMemoryBankFinder @@ -222,7 +221,7 @@ open class FinTsClientTestBase { expect(account?.iban).withRepresentation("Account IBAN must be set").notToBeNull() // transfer 1 cent to yourself. Transferring money to oneself also doesn't require to enter a TAN according to PSD2 - val BankTransferData = BankTransferData(Customer.name, account?.iban!!, Bank.bic, 0.01.toBigDecimal(), + val BankTransferData = BankTransferData(Customer.name, account?.iban!!, Bank.bic, Money(Amount("0,01"), "EUR"), "${DateTimeFormatForUniqueBankTransferUsage.format(DateTimeTz.nowLocal())} Test transaction ${uuid4()}")