Skip to content

Commit

Permalink
fikser test etter wiremock-bump
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsteinsland committed Nov 15, 2024
1 parent f2100ba commit 2a0b8d5
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import com.github.navikt.tbd_libs.result_object.ok
import com.github.tomakehurst.wiremock.WireMockServer
import com.github.tomakehurst.wiremock.client.WireMock
import com.github.tomakehurst.wiremock.client.WireMock.equalTo
import com.github.tomakehurst.wiremock.client.WireMock.equalToJson
import com.github.tomakehurst.wiremock.client.WireMock.matching
import com.github.tomakehurst.wiremock.client.WireMock.matchingJsonPath
import com.github.tomakehurst.wiremock.core.WireMockConfiguration
Expand Down Expand Up @@ -366,7 +367,7 @@ internal class RestAbakusClientTest {
.withRequestBody(matchingJsonPath("$.ident.verdi", equalTo(fnr)))
.withRequestBody(matchingJsonPath("$.periode.fom", equalTo("$fom")))
.withRequestBody(matchingJsonPath("$.periode.tom", equalTo("$tom")))
.withRequestBody(matchingJsonPath("$.ytelser", equalTo(ytelser.joinToString(", ", prefix = "[ ", postfix = " ]") { "\"$it\"" })))
.withRequestBody(matchingJsonPath("$.ytelser", equalToJson(ytelser.joinToString(", ", prefix = "[ ", postfix = " ]") { "\"$it\"" })))
.willReturn(
WireMock.aResponse()
.withStatus(status)
Expand Down

0 comments on commit 2a0b8d5

Please sign in to comment.