Skip to content

Commit

Permalink
fix: apply local on true
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasBousselin committed Jan 27, 2025
1 parent 166b48c commit 0961e57
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -348,15 +348,15 @@ class EntityHandlerTests {
val jsonLdFile = ClassPathResource("/ngsild/aquac/breedingService.jsonld")

webClient.post()
.uri("/ngsi-ld/v1/entities?via=true")
.uri("/ngsi-ld/v1/entities?Via=true")
.bodyValue(jsonLdFile)
.exchange()
.expectStatus().isEqualTo(501)
.expectBody().json(
"""
{
"type": "https://uri.etsi.org/ngsi-ld/errors/NotImplemented",
"title": "The ['Via'] parameters have not been implemented yet. Accepted query parameters are 'local' ",
"title": "The ['Via'] parameters have not been implemented yet. Accepted query parameters are 'local'. ",
"detail": "$DEFAULT_DETAIL"
}
""".trimIndent()
Expand Down

0 comments on commit 0961e57

Please sign in to comment.