Skip to content

Commit 919bc2e

Browse files
committed
fix named parameters in data providers
1 parent 597792d commit 919bc2e

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)