Skip to content

Commit

Permalink
Fix RefResolver and make it compatible with draft-04 #240
Browse files Browse the repository at this point in the history
- Removed the stupid left over debug code
  • Loading branch information
joost-nijhuis committed Apr 12, 2016
1 parent d0f1851 commit cf3e9ec
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tests/JsonSchema/Tests/Constraints/BaseTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,6 @@ public function testInvalidCases($input, $jsonSchema, $checkMode = Validator::CH
$validator = new Validator($checkMode);
$validator->check($value, $schema);

if ($validator->isValid()) {
$a = 2;
}

if (array() !== $errors) {
$this->assertEquals($errors, $validator->getErrors(), print_r($validator->getErrors(),true));
}
Expand Down

0 comments on commit cf3e9ec

Please sign in to comment.