Skip to content

Commit cf3e9ec

Browse files
committed
Fix RefResolver and make it compatible with draft-04 #240
- Removed the stupid left over debug code
1 parent d0f1851 commit cf3e9ec

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

tests/JsonSchema/Tests/Constraints/BaseTestCase.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,6 @@ public function testInvalidCases($input, $jsonSchema, $checkMode = Validator::CH
4040
$validator = new Validator($checkMode);
4141
$validator->check($value, $schema);
4242

43-
if ($validator->isValid()) {
44-
$a = 2;
45-
}
46-
4743
if (array() !== $errors) {
4844
$this->assertEquals($errors, $validator->getErrors(), print_r($validator->getErrors(),true));
4945
}

0 commit comments

Comments
 (0)