We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4490b03 commit 4cdf05eCopy full SHA for 4cdf05e
tests/JsonSchemaTestSuiteTest.php
@@ -85,11 +85,6 @@ function ($file) {
85
foreach ($files as $file) {
86
$contents = json_decode(file_get_contents($file->getPathname()), false);
87
foreach ($contents as $testCase) {
88
- // Since draft6 can only be validated using the strict check mode we need to ensure the $schema
89
- // property is set in the test schema
90
- if ($baseDraftName === 'draft6' && is_object($testCase->schema)) {
91
- $testCase->schema->{'$schema'} = DraftIdentifiers::DRAFT_6;
92
- }
93
foreach ($testCase->tests as $test) {
94
$name = sprintf(
95
'[%s/%s%s]: %s: %s is expected to be %s',
0 commit comments