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 | https://github.com/symfony/symfony/pull/29731#pullrequestreview-189023682
| License | MIT
| Doc PR | n/a
`$groupBy` is either `null` or `callable`. Passing `array()` is wrong.
Commits
-------
b8f6390ef9
Fixed groupBy argument value in DefaultChoiceListFactoryTest
This commit is contained in:
commit
a1c8da08f6
@ -443,7 +443,7 @@ class DefaultChoiceListFactoryTest extends TestCase
|
||||
array($this->obj2, $this->obj3),
|
||||
null, // label
|
||||
null, // index
|
||||
array() // ignored
|
||||
null // group
|
||||
);
|
||||
|
||||
$this->assertFlatView($view);
|
||||
|
Reference in New Issue
Block a user