Skip to content

Commit

Permalink
fix incorrect assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslkingsley committed Jun 13, 2024
1 parent 8814486 commit db59881
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ArrayBasedFormatterTestCases.php
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ public function nullable_value_objects_flattened_validate(mixed $serialized): vo
{
$toTest = $this->arrayify($serialized);

self::assertTrue(isset($toTest['order_id']));
self::assertArrayHasKey('order_id', $toTest);
self::assertNull($toTest['order_id']);
}

Expand Down

0 comments on commit db59881

Please sign in to comment.