Skip to content

Commit

Permalink
Produce small diffs when elife/api samples are handled incorrectly
Browse files Browse the repository at this point in the history
  • Loading branch information
LinaKind committed Jan 15, 2025
1 parent d16cb99 commit f767cb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/Serializer/NormalizerSamplesTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ final public function it_denormalize_samples(string $original, array $context =
$denormalized = $this->normalizer->denormalize(json_decode($original, true), $this->class(), null, $context);
$normalized = $this->normalizer->normalize($denormalized, null, $context);

$this->assertJsonStringEqualsJsonString($original, json_encode($normalized));
$this->assertEquals(json_decode($original, true), $normalized);
}

final public function sampleProvider()
Expand Down

0 comments on commit f767cb8

Please sign in to comment.