diff --git a/tests/JsonSchema/Tests/Constraints/BaseTestCase.php b/tests/JsonSchema/Tests/Constraints/BaseTestCase.php index d41c7c05..7ca630dd 100644 --- a/tests/JsonSchema/Tests/Constraints/BaseTestCase.php +++ b/tests/JsonSchema/Tests/Constraints/BaseTestCase.php @@ -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)); }