Skip to content

Commit

Permalink
Update delta/app/src/test/scala/ch/epfl/bluebrain/nexus/delta/routes/…
Browse files Browse the repository at this point in the history
…ResourcesRoutesSpec.scala

Co-authored-by: Daniel Bell <[email protected]>
  • Loading branch information
dantb and shinyhappydan authored Oct 10, 2023
1 parent 9f1c029 commit 5bc8c3e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5bc8c3e

Please sign in to comment.