Skip to content

Commit 277dd26

Browse files
minor #58390 fix named parameters in data providers (xabbuh)
This PR was merged into the 7.2 branch. Discussion ---------- fix named parameters in data providers | Q | A | ------------- | --- | Branch? | 7.2 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | | License | MIT Commits ------- 1d66b3898f4 fix named parameters in data providers
2 parents f7f6aae + 919bc2e commit 277dd26

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/Functional/ApiAttributesTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -705,7 +705,7 @@ public static function mapRequestPayloadProvider(): iterable
705705
yield 'invalid request mapping attribute with default value' => [
706706
'uri' => '/map-request-to-attribute-with-default-value.json',
707707
'format' => 'json',
708-
'input' => ['comment' => '', 'approved' => '1'],
708+
'parameters' => ['comment' => '', 'approved' => '1'],
709709
'content' => null,
710710
'expectedResponse' => <<<'JSON'
711711
{
@@ -964,7 +964,7 @@ public static function mapRequestPayloadProvider(): iterable
964964
yield 'invalid request mapping non-nullable attribute without default value' => [
965965
'uri' => '/map-request-to-non-nullable-attribute-without-default-value.json',
966966
'format' => 'json',
967-
'input' => ['comment' => '', 'approved' => '1'],
967+
'parameters' => ['comment' => '', 'approved' => '1'],
968968
'content' => null,
969969
'expectedResponse' => <<<'JSON'
970970
{

0 commit comments

Comments
 (0)