diff options
-rwxr-xr-x | contrib/ci/jobs/0-codespell/job.sh | 1 | ||||
-rw-r--r-- | nexus/sample/platform/postfinance_camt053.xml | 4 | ||||
-rw-r--r-- | nexus/src/main/kotlin/tech/libeufin/nexus/Iso20022.kt | 5 | ||||
-rw-r--r-- | nexus/src/test/kotlin/Iso20022Test.kt | 4 |
4 files changed, 7 insertions, 7 deletions
diff --git a/contrib/ci/jobs/0-codespell/job.sh b/contrib/ci/jobs/0-codespell/job.sh index 010d9ada..1bd43d50 100755 --- a/contrib/ci/jobs/0-codespell/job.sh +++ b/contrib/ci/jobs/0-codespell/job.sh @@ -20,6 +20,7 @@ configure~ */*.xsd */*.xml */ebics/src/test/kotlin/EbicsOrderUtilTest.kt +*/nexus/src/main/kotlin/tech/libeufin/nexus/Iso20022CodeSets.kt */common/src/main/kotlin/TalerErrorCode.kt EOF ); diff --git a/nexus/sample/platform/postfinance_camt053.xml b/nexus/sample/platform/postfinance_camt053.xml index d0b7659a..70221569 100644 --- a/nexus/sample/platform/postfinance_camt053.xml +++ b/nexus/sample/platform/postfinance_camt053.xml @@ -49,7 +49,7 @@ <Rsn> <Cd>BE01</Cd> </Rsn> - <AddtlInf>Keine Uebereinstimmung von Kontonummer und Kontoinhaber</AddtlInf> + <AddtlInf>more info here ...</AddtlInf> </RtrInf> </TxDtls> </NtryDtls> @@ -99,7 +99,7 @@ <Rsn> <Cd>RR03</Cd> </Rsn> - <AddtlInf>Postadresse des Kreditors fehlt oder ist unvollständig</AddtlInf> + <AddtlInf>more info here ...</AddtlInf> </RtrInf> </TxDtls> </NtryDtls> diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/Iso20022.kt b/nexus/src/main/kotlin/tech/libeufin/nexus/Iso20022.kt index c907b9aa..f2e466f5 100644 --- a/nexus/src/main/kotlin/tech/libeufin/nexus/Iso20022.kt +++ b/nexus/src/main/kotlin/tech/libeufin/nexus/Iso20022.kt @@ -329,9 +329,8 @@ fun parseTx( In ISO 20022 specifications, most fields are optional and the same information can be written several times in different places. For libeufin, we're only interested in a subset of the available values that can be found in both camt.053 - and camt.054. As there are many similarities between these files, we use the same - function to share code. This function should not fail on legitimate files and should - simply warn when available informations are insufficient. + and camt.054. This function should not fail on legitimate files and should simply + warn when available information are insufficient. */ /** Assert that transaction status is BOOK */ diff --git a/nexus/src/test/kotlin/Iso20022Test.kt b/nexus/src/test/kotlin/Iso20022Test.kt index f3bb15e3..11835ca2 100644 --- a/nexus/src/test/kotlin/Iso20022Test.kt +++ b/nexus/src/test/kotlin/Iso20022Test.kt @@ -77,12 +77,12 @@ class Iso20022Test { listOf( Reversal( msgId = "889d1a80-1267-49bd-8fcc-85701a", - reason = "InconsistenWithEndCustomer 'Identification of end customer is not consistent with associated account number, organisation ID or private ID.' - 'Keine Uebereinstimmung von Kontonummer und Kontoinhaber'", + reason = "InconsistenWithEndCustomer 'Identification of end customer is not consistent with associated account number, organisation ID or private ID.' - 'more info here ...'", executionTime = instant("2023-11-22") ), Reversal( msgId = "4cc61cc7-6230-49c2-b5e2-b40bbb", - reason = "MissingCreditorNameOrAddress 'Specification of the creditor’s name and/or address needed for regulatory requirements is insufficient or missing.' - 'Postadresse des Kreditors fehlt oder ist unvollständig'", + reason = "MissingCreditorNameOrAddress 'Specification of the creditor’s name and/or address needed for regulatory requirements is insufficient or missing.' - 'more info here ...'", executionTime = instant("2023-11-22") ) ), |