Removed KtorWebClientTest as wasn't senseful and failed in JS Browser

This commit is contained in:
dankito 2024-08-20 11:04:48 +02:00
parent 753b947425
commit 6b6dfd48b8
1 changed files with 0 additions and 22 deletions

View File

@ -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)
}
}