fixed tests

This commit is contained in:
Fabien Potencier 2017-03-01 10:16:08 -08:00
parent 2d174f2bc3
commit 4b27628bca

View File

@ -2305,10 +2305,11 @@ class ChoiceTypeTest extends TypeTestCase
*/
public function testSubmitInvalidNestedValue($multiple, $expanded, $submissionData)
{
$form = $this->factory->create('choice', null, array(
$form = $this->factory->create('Symfony\Component\Form\Extension\Core\Type\ChoiceType', null, array(
'choices' => $this->choices,
'multiple' => $multiple,
'expanded' => $expanded,
'choices_as_values' => true,
));
$form->submit($submissionData);