feat: update to latest json schema test suite #821
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request updates the
json-schema/json-schema-test-suite
dependency to a newer version and introduces a new test suite for validating JSON schemas. The goal here is to have a quicker turnaround then just the bowtie reports. The most important changes are grouped below:Dependency Updates:
json-schema/json-schema-test-suite
dependency incomposer.json
from version1.2.0
to^23.2
and updated the package version and reference in therepositories
section to match the new version. [1] [2]New Test Suite:
JsonSchemaTestSuite
class intests/JsonSchemaTestSuite.php
to run validation tests using thejson-schema/json-schema-test-suite
. This includes:testIt
method to validate test cases and assert results.casesDataProvider
method to dynamically load test cases from thejson-schema-test-suite
repository, skipping certain drafts.loadRemotesIntoStorage
helper method to load remote schemas into the schema storage.