More tests !

This commit is contained in:
2020-06-14 23:06:28 +02:00
parent 913e3dfc93
commit 07ec732c55
10 changed files with 281 additions and 16 deletions
@@ -1,19 +1,16 @@
package be.vandewalleh.extensions
import be.vandewalleh.auth.UserDbIdPrincipal
import be.vandewalleh.kodein
import be.vandewalleh.services.FullNoteCreateDTO
import be.vandewalleh.services.FullNotePatchDTO
import be.vandewalleh.services.UserService
import io.ktor.application.*
import io.ktor.auth.*
import io.ktor.http.*
import io.ktor.request.*
import io.ktor.response.*
import org.kodein.di.generic.instance
suspend fun ApplicationCall.respondStatus(status: HttpStatusCode) {
respond(status, status.description)
respond(status, """{"msg": "${status.description}"}""")
}
/**