Skip to content

Commit

Permalink
Unify URI handling
Browse files Browse the repository at this point in the history
  • Loading branch information
anotheroneofthese committed Sep 6, 2024
1 parent 2f917ce commit 5269852
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ class OrderControllerTest(
.mutateWith(csrf())
.mutateWith(mockJwt().jwt { it.subject("axiell") })
.delete()
.uri("/${dop.hostName}/${dop.hostOrderId}")
.uri("/{hostName}/{hostOrderId}")
.accept(MediaType.APPLICATION_JSON)
.exchange()
.expectStatus().isOk
Expand All @@ -277,7 +277,7 @@ class OrderControllerTest(
.mutateWith(csrf())
.mutateWith(mockJwt().jwt { it.subject(clientName) })
.delete()
.uri("/${dop.hostName}/${dop.hostOrderId}")
.uri("/{hostName}/{hostOrderId}", dop.hostName, dop.hostOrderId)
.exchange()
.expectStatus().is5xxServerError
assertThat(true)
Expand Down

0 comments on commit 5269852

Please sign in to comment.