[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin] branch master updated: no need for AmountUtil, for now
From: |
gnunet |
Subject: |
[libeufin] branch master updated: no need for AmountUtil, for now |
Date: |
Fri, 06 Dec 2019 23:07:36 +0100 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository libeufin.
The following commit(s) were added to refs/heads/master by this push:
new 17ab6d7 no need for AmountUtil, for now
17ab6d7 is described below
commit 17ab6d7a67f3b7e7c3ff97ac78cf3448bb7c20cc
Author: Marcello Stanisci <address@hidden>
AuthorDate: Fri Dec 6 23:07:22 2019 +0100
no need for AmountUtil, for now
---
sandbox/src/main/kotlin/tech/libeufin/sandbox/DB.kt | 4 ++--
sandbox/src/test/kotlin/DbTest.kt | 1 -
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/sandbox/src/main/kotlin/tech/libeufin/sandbox/DB.kt
b/sandbox/src/main/kotlin/tech/libeufin/sandbox/DB.kt
index 5c2b33d..1c866ea 100644
--- a/sandbox/src/main/kotlin/tech/libeufin/sandbox/DB.kt
+++ b/sandbox/src/main/kotlin/tech/libeufin/sandbox/DB.kt
@@ -39,6 +39,8 @@ const val EBICS_PARTNER_ID_MAX_LENGTH = 10
const val EBICS_SYSTEM_ID_MAX_LENGTH = 10
const val MAX_ID_LENGTH = 21 // enough to contain IBANs
const val MAX_SUBJECT_LENGTH = 140 // okay?
+const val NUMBER_MAX_DIGITS = 20
+const val SCALE_TWO = 2
/**
* All the states to give a subscriber.
@@ -181,8 +183,6 @@ class BankTransactionEntity(id: EntityID<Int>) :
IntEntity(id) {
}
-
-
/**
* This table information *not* related to EBICS, for all
* its customers.
diff --git a/sandbox/src/test/kotlin/DbTest.kt
b/sandbox/src/test/kotlin/DbTest.kt
index 16e7a0a..d191250 100644
--- a/sandbox/src/test/kotlin/DbTest.kt
+++ b/sandbox/src/test/kotlin/DbTest.kt
@@ -73,7 +73,6 @@ class DbTest {
@Test
fun badAmount() {
-
assertFailsWith<BadAmount> {
transaction {
BankTransactionEntity.new {
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [libeufin] branch master updated: no need for AmountUtil, for now,
gnunet <=