8000 fixed tests · symfony/symfony@4b27628 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4b27628

Browse files
committed
fixed tests
1 parent 2d174f2 commit 4b27628

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Symfony/Component/Form/Tests/Extension/Core/Type/ChoiceTypeTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2305,10 +2305,11 @@ public function testCustomChoiceTypeDoesNotInheritChoiceLabels()
23052305
*/
23062306
public function testSubmitInvalidNestedValue($multiple, $expanded, $submissionData)
23072307
{
2308-
$form = $this->factory->create('choice', null, array(
2308+
$form = $this->factory->create('Symfony\Component\Form\Extension\Core\Type\ChoiceType', null, array(
23092309
'choices' => $this->choices,
23102310
'multiple' => $multiple,
23112311
'expanded' => $expanded,
2312+
'choices_as_values' => true,
23122313
));
23132314

23142315
$form->submit($submissionData);

0 commit comments

Comments
 (0)
0