We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 310caff commit f90ae93Copy full SHA for f90ae93
src/test/kotlin/infrastructure/api/RoomApiTest.kt
@@ -18,6 +18,7 @@ import infrastructure.api.util.ApiResponses
18
import io.kotest.assertions.ktor.client.shouldHaveStatus
19
import io.kotest.core.spec.style.StringSpec
20
import io.kotest.matchers.shouldBe
21
+import io.kotest.matchers.shouldNotBe
22
import io.ktor.client.request.delete
23
import io.ktor.client.request.get
24
import io.ktor.client.request.header
@@ -57,6 +58,7 @@ class RoomApiTest : StringSpec({
57
58
apiTestApplication {
59
val response = insertRoom(roomApiDto)
60
response shouldHaveStatus HttpStatusCode.Created
61
+ response.headers[HttpHeaders.Location] shouldNotBe null
62
}
63
64
0 commit comments