summaryrefslogtreecommitdiff
path: root/nexus/src/test/kotlin/NexusApiTest.kt
diff options
context:
space:
mode:
authorMS <ms@taler.net>2023-03-31 14:08:04 +0200
committerMS <ms@taler.net>2023-03-31 14:08:04 +0200
commit84a5889dd8b49510f1b76fa68211070667d4d177 (patch)
tree2bb9a485be9ce13395f540ff27a487af3e67d832 /nexus/src/test/kotlin/NexusApiTest.kt
parent9fa7dbec7ada36d55893a80db8bd1eb71e72d10a (diff)
downloadlibeufin-84a5889dd8b49510f1b76fa68211070667d4d177.tar.gz
libeufin-84a5889dd8b49510f1b76fa68211070667d4d177.tar.bz2
libeufin-84a5889dd8b49510f1b76fa68211070667d4d177.zip
tests
Diffstat (limited to 'nexus/src/test/kotlin/NexusApiTest.kt')
-rw-r--r--nexus/src/test/kotlin/NexusApiTest.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/nexus/src/test/kotlin/NexusApiTest.kt b/nexus/src/test/kotlin/NexusApiTest.kt
index 30763005..e4fcc6d0 100644
--- a/nexus/src/test/kotlin/NexusApiTest.kt
+++ b/nexus/src/test/kotlin/NexusApiTest.kt
@@ -4,13 +4,13 @@ import io.ktor.http.*
import io.ktor.server.testing.*
import org.junit.Test
import tech.libeufin.nexus.server.nexusApp
+import tech.libeufin.sandbox.sandboxApp
/**
* This class tests the API offered by Nexus,
* documented here: https://docs.taler.net/libeufin/api-nexus.html
*/
class NexusApiTest {
-
// Testing basic operations on facades.
@Test
fun facades() {
@@ -19,7 +19,7 @@ class NexusApiTest {
prepNexusDb()
testApplication {
application(nexusApp)
- client.delete("/facades/taler") {
+ client.delete("/facades/foo-facade") {
basicAuth("foo", "foo")
expectSuccess = true
}