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 9e55278 commit c1ced78Copy full SHA for c1ced78
tests/ValidatorTest.php
@@ -20,12 +20,12 @@ public function testValidateWithAssocSchema(): void
20
21
public function testValidateWithAssocSchemaWithRelativeRefs(): void
22
{
23
- $schema = json_decode(file_get_contents(__DIR__.'/fixtures/relative.json'), true);
+ $schema = json_decode(file_get_contents(__DIR__ . '/fixtures/relative.json'), true);
24
$data = json_decode('{"foo":{"foo": "bar"}}', false);
25
26
$validator = new Validator();
27
$validator->validate($data, $schema);
28
-
+
29
$this->assertTrue($validator->isValid(), 'Validation failed, but should have succeeded.');
30
}
31
0 commit comments