libeufin

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

commit d5d5035d3740104acb38b1b0f95c1305f78bfd95
parent d9142e97c0167e4231208e17f6a4379d30bf1c1a
Author: Antoine A <>
Date:   Tue, 12 Mar 2024 11:32:50 +0100

codespell

Diffstat:
Mnexus/src/main/kotlin/tech/libeufin/nexus/ebics/EbicsCommon.kt | 4++--
Mnexus/src/test/kotlin/EbicsTest.kt | 2+-
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/ebics/EbicsCommon.kt b/nexus/src/main/kotlin/tech/libeufin/nexus/ebics/EbicsCommon.kt @@ -125,7 +125,7 @@ suspend fun HttpClient.postToBank(bankUrl: String, msg: ByteArray, phase: String try { return XMLUtil.parseIntoDom(res.bodyAsChannel().toInputStream()) } catch (e: SAXException) { - throw EbicsError.Protocol("$phase: invalid XML bank reponse", e) + throw EbicsError.Protocol("$phase: invalid XML bank response", e) } catch (e: Exception) { throw EbicsError.Transport("$phase: failed read bank response", e) } @@ -216,7 +216,7 @@ suspend fun ebicsDownload( if (!parentScope.isActive) { // First send a proper EBICS transaction failure receipt(false) - // Send throw cancelation exception + // Send throw cancellation exception throw CancellationException() } } diff --git a/nexus/src/test/kotlin/EbicsTest.kt b/nexus/src/test/kotlin/EbicsTest.kt @@ -52,7 +52,7 @@ class EbicsTest { respondOk("<ebics broken></ebics>") }.postToBank("http://ignored.example.com/", ByteArray(0), "Test") }.run { - assertEquals("Test: invalid XML bank reponse", message) + assertEquals("Test: invalid XML bank response", message) assertEquals("Attribute name \"broken\" associated with an element type \"ebics\" must be followed by the ' = ' character.", cause!!.message) } getMockedClient {