Skip to content

Commit

Permalink
BUGFIX: Add test to prove that optional parameters are passed into un…
Browse files Browse the repository at this point in the history
…expected slots when parameters in between are missing
  • Loading branch information
mficzel committed Jun 19, 2024
1 parent 37761e9 commit 98cc972
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/Unit/Domain/Schema/SchemaNormalizerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public static function denormalizeObjectsWithOptionalParametersDataProvider(): \
];
yield 'PostalAddress with missing parameter in between' => [
Fixtures\PostalAddress::class,
['streetAddress' => 'Dämonenweg 23', 'addressRegion' => 'Hölle', 'postOfficeBoxNumber' => 666],
['streetAddress' => 'Dämonenweg 23', 'addressRegion' => 'Hölle', 'postOfficeBoxNumber' => '666'],
new Fixtures\PostalAddress(streetAddress: 'Dämonenweg 23', addressRegion: 'Hölle', postOfficeBoxNumber: '666')
];
}
Expand Down

0 comments on commit 98cc972

Please sign in to comment.