Skip to content

Commit a1513ea

Browse files
committed
test: Force strict mode for draft 7
1 parent ce06c98 commit a1513ea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/JsonSchemaTestSuiteTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ private function getCheckModeForDraft(string $draft): int
190190
{
191191
switch ($draft) {
192192
case 'draft6':
193+
case 'draft7':
193194
return Constraint::CHECK_MODE_NORMAL | Constraint::CHECK_MODE_STRICT;
194195
default:
195196
return Constraint::CHECK_MODE_NORMAL;

0 commit comments

Comments
 (0)