From 5bc8c3ef83ba8ed59d0a39dcc6ab2da7abe9ea6f Mon Sep 17 00:00:00 2001 From: dantb Date: Tue, 10 Oct 2023 17:57:37 +0200 Subject: [PATCH] Update delta/app/src/test/scala/ch/epfl/bluebrain/nexus/delta/routes/ResourcesRoutesSpec.scala Co-authored-by: Daniel Bell --- .../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 4b5041d332..97820bde4d 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 @@ -262,7 +262,7 @@ class ResourcesRoutesSpec extends BaseRouteSpec with IOFromMap { } "succeed if underscore fields are present but the decoding is set to lenient" in { - val lenientDecodingRoutes = routesWithDecodingOption(DecodingOption.Lenient)._1 + val (lenientDecodingRoutes, _) = routesWithDecodingOption(DecodingOption.Lenient) Post("/v1/resources/myorg/myproject/_/", payloadWithUnderscoreFields.toEntity) ~> lenientDecodingRoutes ~> check { response.status shouldEqual StatusCodes.Created