Closed
Description
Hello guys, I noticed that with 5.2.2 validation is broken, if ID field is present.
I made side project to demonstrate issue:
Working: eugene-matvejev/symfony-battleship#754
Broken: eugene-matvejev/symfony-battleship#755
json schemas:
https://github.com/eugene-matvejev/battleship-game-api-json-schema
output
tests:behat:
[behat] ..............F
[behat]
[behat] --- Failed steps:
[behat]
[behat] 001 Example: | POST | /api/game-init | game.init.request.1.opponent.json | game.init.response.schema.json | # tests/behat/suites/api/api.json.validation.against.schema.feature:11
[behat] Then validate response against schema "game.init.response.schema.json" # tests/behat/suites/api/api.json.validation.against.schema.feature:7
[behat] Unable to resolve URI 'properties/collection' from base '' (JsonSchema\Exception\UriResolverException)
[behat]
[behat] 6 scenarios (5 passed, 1 failed)
[behat] 15 steps (14 passed, 1 failed)
[behat] 0m0.39s (22.07Mb)
Metadata
Metadata
Assignees
Labels
No labels