summaryrefslogtreecommitdiff
path: root/testbench/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'testbench/src/test')
-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")
}
}
}