[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin] branch master updated: Remove not so useful test.
From: |
gnunet |
Subject: |
[libeufin] branch master updated: Remove not so useful test. |
Date: |
Thu, 14 May 2020 17:51:53 +0200 |
This is an automated email from the git hooks/post-receive script.
ms pushed a commit to branch master
in repository libeufin.
The following commit(s) were added to refs/heads/master by this push:
new 30fc568 Remove not so useful test.
30fc568 is described below
commit 30fc568271b1bb8e316ac691e94c874951bc92d3
Author: MS <address@hidden>
AuthorDate: Thu May 14 17:51:19 2020 +0200
Remove not so useful test.
---
nexus/src/test/kotlin/PainGeneration.kt | 47 ---------------------------------
1 file changed, 47 deletions(-)
diff --git a/nexus/src/test/kotlin/PainGeneration.kt
b/nexus/src/test/kotlin/PainGeneration.kt
deleted file mode 100644
index 82b1470..0000000
--- a/nexus/src/test/kotlin/PainGeneration.kt
+++ /dev/null
@@ -1,47 +0,0 @@
-package tech.libeufin.nexus
-
-import org.junit.Before
-import org.junit.Test
-import org.jetbrains.exposed.sql.Database
-import org.jetbrains.exposed.sql.transactions.transaction
-import org.jetbrains.exposed.sql.SchemaUtils
-import org.joda.time.DateTime
-import tech.libeufin.util.Amount
-
-class PainTest {
- @Before
- fun prepare() {
- Database.connect("jdbc:h2:mem:test;DB_CLOSE_DELAY=-1", driver =
"org.h2.Driver")
- transaction {
- SchemaUtils.create(BankAccountsTable)
- SchemaUtils.create(PreparedPaymentsTable)
- SchemaUtils.create(NexusUsersTable)
- BankAccountEntity.new(id = "acctid") {
- accountHolder = "Account Holder"
- iban = "DEBIT IBAN"
- bankCode = "DEBIT BIC"
- }
- PreparedPaymentEntity.new {
- sum = Amount(1)
- debitorIban = "DEBIT IBAN"
- debitorBic = "DEBIT BIC"
- debitorName = "DEBIT NAME"
- subject = "subject line"
- creditorIban = "CREDIT IBAN"
- creditorBic = "CREDIT BIC"
- creditorName = "CREDIT NAME"
- paymentId = 1
- endToEndId = 1
- nexusUser = NexusUserEntity.new(id = "mock") { }
- }
- }
- }
-
- @Test
- fun testPain001document() {
- transaction {
- val s = createPain001document(PreparedPaymentEntity.all().first())
- println(s)
- }
- }
-}
\ No newline at end of file
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [libeufin] branch master updated: Remove not so useful test.,
gnunet <=