aboutsummaryrefslogtreecommitdiff
path: root/testbench/src/test/kotlin
diff options
context:
space:
mode:
authorAntoine A <>2024-03-12 20:48:56 +0100
committerAntoine A <>2024-03-13 21:19:30 +0100
commitcd6421f1c45e1a51415c19c1e28eed8a91c56008 (patch)
tree6ddfbfad5cd18a874e29ba9a95d0873387caf375 /testbench/src/test/kotlin
parentc481ebac54b747ebb56b09c1430755bc4a70f3e5 (diff)
downloadlibeufin-cd6421f1c45e1a51415c19c1e28eed8a91c56008.tar.gz
libeufin-cd6421f1c45e1a51415c19c1e28eed8a91c56008.tar.bz2
libeufin-cd6421f1c45e1a51415c19c1e28eed8a91c56008.zip
Track outgoing transactions status
Diffstat (limited to 'testbench/src/test/kotlin')
-rw-r--r--testbench/src/test/kotlin/IntegrationTest.kt4
-rw-r--r--testbench/src/test/kotlin/Iso20022Test.kt4
2 files changed, 4 insertions, 4 deletions
diff --git a/testbench/src/test/kotlin/IntegrationTest.kt b/testbench/src/test/kotlin/IntegrationTest.kt
index b398ad03..2f529a90 100644
--- a/testbench/src/test/kotlin/IntegrationTest.kt
+++ b/testbench/src/test/kotlin/IntegrationTest.kt
@@ -20,7 +20,7 @@
import org.junit.Test
import tech.libeufin.bank.*
import tech.libeufin.nexus.*
-import tech.libeufin.nexus.Database as NexusDb
+import tech.libeufin.nexus.db.Database as NexusDb
import tech.libeufin.bank.db.AccountDAO.*
import tech.libeufin.common.*
import java.time.Instant
@@ -185,7 +185,7 @@ class IntegrationTest {
}.assertNoContent()
assertException("ERROR: cashin failed: admin balance insufficient") {
- db.registerTalerableIncoming(payment, reservePub)
+ db.payment.registerTalerableIncoming(payment, reservePub)
}
// Allow admin debt
diff --git a/testbench/src/test/kotlin/Iso20022Test.kt b/testbench/src/test/kotlin/Iso20022Test.kt
index 7e0fc7b9..26447b9d 100644
--- a/testbench/src/test/kotlin/Iso20022Test.kt
+++ b/testbench/src/test/kotlin/Iso20022Test.kt
@@ -34,7 +34,7 @@ class Iso20022Test {
} else if (name.contains("pain.002")) {
parseCustomerPaymentStatusReport(content)
} else {
- parseTxNotif(content, "CHF", mutableListOf())
+ parseTxNotif(content, "CHF")
}
}
}
@@ -56,7 +56,7 @@ class Iso20022Test {
} else if (name.contains("pain.002")) {
parseCustomerPaymentStatusReport(content)
} else {
- parseTxNotif(content, "CHF", mutableListOf())
+ parseTxNotif(content, "CHF")
}
}
}