Skip to content

Commit f719372

Browse files
committed
fix psalm issue
1 parent 1ae1e62 commit f719372

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit/Formatter/JsonFormatterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public function testWrite(): void
7676
self::assertIsArray($data);
7777
self::assertEquals($expected, $data);
7878

79-
JsonAssert::assertJsonMatchesSchema($json, dirname(__DIR__, 3) . '/Resources/errors.schema.json');
79+
JsonAssert::assertJsonMatchesSchema(json_decode($json), dirname(__DIR__, 3) . '/Resources/errors.schema.json');
8080

8181
self::assertJsonStringEqualsJsonString(
8282
<<<'OUTPUT'

0 commit comments

Comments
 (0)