From 6b6dfd48b82de34ff800ae6adf345bd7c95ead36 Mon Sep 17 00:00:00 2001 From: dankito Date: Tue, 20 Aug 2024 11:04:48 +0200 Subject: [PATCH] Removed KtorWebClientTest as wasn't senseful and failed in JS Browser --- .../fints/webclient/KtorWebClientTest.kt | 22 ------------------- 1 file changed, 22 deletions(-) delete mode 100644 fints4k/src/commonTest/kotlin/net/dankito/banking/fints/webclient/KtorWebClientTest.kt diff --git a/fints4k/src/commonTest/kotlin/net/dankito/banking/fints/webclient/KtorWebClientTest.kt b/fints4k/src/commonTest/kotlin/net/dankito/banking/fints/webclient/KtorWebClientTest.kt deleted file mode 100644 index 90dee804..00000000 --- a/fints4k/src/commonTest/kotlin/net/dankito/banking/fints/webclient/KtorWebClientTest.kt +++ /dev/null @@ -1,22 +0,0 @@ -package net.dankito.banking.fints.webclient - -import kotlinx.coroutines.test.runTest -import kotlin.test.Test -import kotlin.test.assertEquals -import kotlin.test.assertNotNull -import kotlin.test.assertTrue - -class KtorWebClientTest { - - private val underTest = KtorWebClient() - - @Test - fun get() = runTest { - val result = underTest.get("https://staging.dankito.net/bankfinder?maxItems=1&query=720") - - assertTrue(result.successful) - assertEquals(200, result.responseCode) - assertNotNull(result.body) - } - -} \ No newline at end of file