diff --git a/FinTs4jBankingClient/src/commonTest/kotlin/net/codinux/banking/client/fints4k/FinTs4kMapperTest.kt b/FinTs4jBankingClient/src/commonTest/kotlin/net/codinux/banking/client/fints4k/FinTs4kMapperTest.kt index fc8f2594..d1d6f1f0 100644 --- a/FinTs4jBankingClient/src/commonTest/kotlin/net/codinux/banking/client/fints4k/FinTs4kMapperTest.kt +++ b/FinTs4jBankingClient/src/commonTest/kotlin/net/codinux/banking/client/fints4k/FinTs4kMapperTest.kt @@ -12,7 +12,7 @@ class FinTs4kMapperTest { @Test fun getTotalBalance_TotalBalanceIsNull_CalculateByQuantityAndMarketValue() { - val holding = Holding("", null, null, null, 4, null, null, null, fints4kAmount("13.33")) + val holding = Holding("", null, null, null, 4.0, null, null, null, fints4kAmount("13.33")) val result = underTest.getTotalBalance(holding) @@ -21,7 +21,7 @@ class FinTs4kMapperTest { @Test fun getTotalCostPrice_TotalCostPriceIsNull_CalculateByQuantityAndAverageCostPrice() { - val holding = Holding("", null, null, null, 47, fints4kAmount("16.828"), null) + val holding = Holding("", null, null, null, 47.0, fints4kAmount("16.828"), null) val result = underTest.getTotalCostPrice(holding)