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 7a4e64d commit c9ae357Copy full SHA for c9ae357
tests/JsonSchemaTestSuiteTest.php
@@ -39,15 +39,13 @@ public function testTestCaseValidatesCorrectly(
39
} catch (\Exception $e) {
40
if ($optional) {
41
$this->markTestSkipped('Optional test case would during validate() invocation');
42
- return;
43
}
44
45
throw $e;
46
47
48
if ($optional && $expectedValidationResult !== (count($validator->getErrors()) === 0)) {
49
$this->markTestSkipped('Optional test case would fail');
50
51
52
53
self::assertEquals($expectedValidationResult, count($validator->getErrors()) === 0);
0 commit comments