libeufin

Integration and sandbox testing for FinTech APIs and data formats
Log | Files | Refs | Submodules | README | LICENSE

commit ff4bc650534e094190ab8adac77375d5488a0f8b
parent 865f2588377b7bba0200792e78179f49de8e7192
Author: MS <ms@taler.net>
Date:   Thu, 23 Jul 2020 11:20:29 +0200

improve previous test

Diffstat:
Msandbox/src/test/kotlin/EbicsErrorTest.kt | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sandbox/src/test/kotlin/EbicsErrorTest.kt b/sandbox/src/test/kotlin/EbicsErrorTest.kt @@ -13,6 +13,8 @@ class EbicsErrorTest { "012345", EbicsTypes.TransactionPhaseType.INITIALISATION ) - println(XMLUtil.convertJaxbToString(resp)) + assert(resp.header.mutable.reportText == "[EBICS_ERROR] abc") + assert(resp.header.mutable.returnCode == "012345") + assert(resp.body.returnCode.value == "012345") } } \ No newline at end of file