diff --git a/apps/etterlatte-beregning/src/test/kotlin/beregning/BeregningRoutesTest.kt b/apps/etterlatte-beregning/src/test/kotlin/beregning/BeregningRoutesTest.kt index ba12f6bcd49..b6abee349fa 100644 --- a/apps/etterlatte-beregning/src/test/kotlin/beregning/BeregningRoutesTest.kt +++ b/apps/etterlatte-beregning/src/test/kotlin/beregning/BeregningRoutesTest.kt @@ -137,7 +137,7 @@ internal class BeregningRoutesTest { header(HttpHeaders.ContentType, ContentType.Application.Json.toString()) header(HttpHeaders.Authorization, "Bearer $token") }.let { - it.status shouldBe HttpStatusCode.NotFound + it.status shouldBe HttpStatusCode.Forbidden } } }