commit e60197ea13060728d2957f9fe305f8c208d45eab
parent e83b5f62a30a794e8bcb993141648db7e28a8ca9
Author: MS <ms@taler.net>
Date: Mon, 7 Dec 2020 18:22:06 +0100
Testing.
Ignore unit test based on non-singleton money movement.
Ignoring as before the parser allowed more formats (and
might do again in the future.)
Diffstat:
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/nexus/src/test/kotlin/Iso20022Test.kt b/nexus/src/test/kotlin/Iso20022Test.kt
@@ -1,5 +1,6 @@
package tech.libeufin.nexus
import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper
+import org.junit.Ignore
import org.junit.Test
import org.w3c.dom.Document
import tech.libeufin.nexus.iso20022.*
@@ -37,7 +38,13 @@ class Iso20022Test {
}
}
}
- @Test
+
+ /**
+ * This test is currently ignored because the Camt sample being parsed
+ * contains a money movement which is not a singleton. This is not in
+ * line with the current parsing logic (that expects the style used by GLS)
+ */
+ @Ignore
fun testTransactionsImport() {
val camt53 = loadXmlResource("iso20022-samples/camt.053/de.camt.053.001.02.xml")
val r = parseCamtMessage(camt53)