8000 minor #29769 [Form] Fix FormDefaultChoiceListFactory test (vudaltsov) · symfony/symfony@a1c8da0 · GitHub
[go: up one dir, main page]

Skip to content

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a1c8da0

Browse files
committed
minor #29769 [Form] Fix FormDefaultChoiceListFactory test (vudaltsov)
This PR was merged into the 3.4 branch. Discussion ---------- [Form] Fix FormDefaultChoiceListFactory test | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #29731 (review) | License 8000 | MIT | Doc PR | n/a `$groupBy` is either `null` or `callable`. Passing `array()` is wrong. Commits ------- b8f6390 Fixed groupBy argument value in DefaultChoiceListFactoryTest
2 parents 3ee1adb + b8f6390 commit a1c8da0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Form/Tests/ChoiceList/Factory/DefaultChoiceListFactoryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ public function testCreateViewFlatGroupByEmpty()
443443
array($this->obj2, $this->obj3),
444444
null, // label
445445
null, // index
446-
array() // ignored
446+
null // group
447447
);
448448

449449
$this->assertFlatView($view);

0 commit comments

Comments
 (0)
0