From 3dc1c365052e4a50d11add21fd72349ff62df625 Mon Sep 17 00:00:00 2001 From: Simon Dumas Date: Wed, 20 Sep 2023 15:36:29 +0200 Subject: [PATCH] Fix unit test --- .../epfl/bluebrain/nexus/delta/routes/ResourcesRoutesSpec.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/delta/app/src/test/scala/ch/epfl/bluebrain/nexus/delta/routes/ResourcesRoutesSpec.scala b/delta/app/src/test/scala/ch/epfl/bluebrain/nexus/delta/routes/ResourcesRoutesSpec.scala index b89ed3beae..8f761bca31 100644 --- a/delta/app/src/test/scala/ch/epfl/bluebrain/nexus/delta/routes/ResourcesRoutesSpec.scala +++ b/delta/app/src/test/scala/ch/epfl/bluebrain/nexus/delta/routes/ResourcesRoutesSpec.scala @@ -186,7 +186,7 @@ class ResourcesRoutesSpec extends BaseRouteSpec with IOFromMap { } "fail to create a resource against a schema that does not exist" in { - Put("/v1/resources/myorg/myproject/pretendschema/", payloadWithoutId.toEntity) ~> routes ~> check { + Put("/v1/resources/myorg/myproject/pretendschema/someid", payloadWithoutId.toEntity) ~> routes ~> check { status shouldEqual StatusCodes.NotFound response.asJson shouldEqual jsonContentOf("/schemas/errors/invalid-schema-2.json") }