test: 不要なテストを削除

This commit is contained in:
usbharu 2023-03-24 13:23:12 +09:00
parent 9f2890b042
commit 9487739cab
2 changed files with 0 additions and 23 deletions

View File

@ -58,7 +58,6 @@ fun Application.module() {
configureMonitoring() configureMonitoring()
configureSerialization() configureSerialization()
configureSockets() configureSockets()
configureRouting()
val activityPubUserService by inject<ActivityPubUserService>() val activityPubUserService by inject<ActivityPubUserService>()
user(userService,activityPubUserService) user(userService,activityPubUserService)
login() login()

View File

@ -1,22 +0,0 @@
package dev.usbharu
import dev.usbharu.hideout.plugins.configureRouting
import io.ktor.client.request.*
import io.ktor.client.statement.*
import io.ktor.http.*
import io.ktor.server.testing.*
import kotlin.test.Test
import kotlin.test.assertEquals
class ApplicationTest {
@Test
fun testRoot() = testApplication {
application {
configureRouting()
}
client.get("/").apply {
assertEquals(HttpStatusCode.OK, status)
assertEquals("Hello World!", bodyAsText())
}
}
}