Skip to content

Commit

Permalink
Fix: Assert that values are JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Dec 26, 2022
1 parent 5924773 commit 87972c5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/Unit/AbstractNormalizerTestCase.php
Expand Up @@ -50,6 +50,9 @@ final protected static function assertJsonStringEqualsJsonStringNormalized(
string $expected,
string $actual,
): void {
self::assertJson($expected);
self::assertJson($actual);

$printer = new Printer\Printer();

$normalize = static function (string $json) use ($printer): string {
Expand Down

0 comments on commit 87972c5

Please sign in to comment.