Skip to content

Commit

Permalink
Remove unnecessary change
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Dumas committed Sep 22, 2023
1 parent d84c0c1 commit a6da305
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ class ResourcesRoutesSpec extends BaseRouteSpec with IOFromMap {
"fail to create a resource that does not validate against a schema" in {
Put(
"/v1/resources/myorg/myproject/nxv:myschema/wrong",
payloadWithoutId.replaceKeyWithValue("number", "wrong").toEntity
payloadWithoutId.toEntity
) ~> routes ~> check {
response.status shouldEqual StatusCodes.BadRequest
response.asJson shouldEqual jsonContentOf("/resources/errors/invalid-resource.json")
Expand Down

0 comments on commit a6da305

Please sign in to comment.