8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d174f2 commit 4b27628Copy full SHA for 4b27628
src/Symfony/Component/Form/Tests/Extension/Core/Type/ChoiceTypeTest.php
@@ -2305,10 +2305,11 @@ public function testCustomChoiceTypeDoesNotInheritChoiceLabels()
2305
*/
2306
public function testSubmitInvalidNestedValue($multiple, $expanded, $submissionData)
2307
{
2308
- $form = $this->factory->create('choice', null, array(
+ $form = $this->factory->create('Symfony\Component\Form\Extension\Core\Type\ChoiceType', null, array(
2309
'choices' => $this->choices,
2310
'multiple' => $multiple,
2311
'expanded' => $expanded,
2312
+ 'choices_as_values' => true,
2313
));
2314
2315
$form->submit($submissionData);
0 commit comments