Skip to content

Commit

Permalink
rm empty stdClass test
Browse files Browse the repository at this point in the history
  • Loading branch information
simPod committed Jul 23, 2024
1 parent 658ff7a commit c549a44
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions tests/Integration/Normalizer/NormalizerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -196,18 +196,9 @@ public static function normalize_basic_values_yields_expected_output_data_provid
];

yield 'empty stdClass' => [
'input' => (fn () => new stdClass())(),
'expected array' => [],
'expected json' => '[]',
];

yield 'empty stdClass kept as object in json' => [
'input' => (fn () => new stdClass())(),
'expected array' => [],
'expected json' => '{}',
[],
[],
JSON_FORCE_OBJECT
];

yield 'list' => [
Expand Down

0 comments on commit c549a44

Please sign in to comment.