From d0130d946b2ed7622e28486eacb7ab6896693c41 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Wed, 29 Jun 2016 06:57:44 +0200 Subject: [PATCH] fixed form tests --- .../Form/Tests/Extension/Core/Type/ChoiceTypeTest.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Symfony/Component/Form/Tests/Extension/Core/Type/ChoiceTypeTest.php b/src/Symfony/Component/Form/Tests/Extension/Core/Type/ChoiceTypeTest.php index 271130f803..a031926f1b 100644 --- a/src/Symfony/Component/Form/Tests/Extension/Core/Type/ChoiceTypeTest.php +++ b/src/Symfony/Component/Form/Tests/Extension/Core/Type/ChoiceTypeTest.php @@ -685,7 +685,7 @@ class ChoiceTypeTest extends \Symfony\Component\Form\Test\TypeTestCase public function testSubmitSingleChoiceWithEmptyData() { - $form = $this->factory->create('choice', null, array( + $form = $this->factory->create('Symfony\Component\Form\Extension\Core\Type\ChoiceType', null, array( 'multiple' => false, 'expanded' => false, 'choices' => array('test'), @@ -700,7 +700,7 @@ class ChoiceTypeTest extends \Symfony\Component\Form\Test\TypeTestCase public function testSubmitMultipleChoiceWithEmptyData() { - $form = $this->factory->create('choice', null, array( + $form = $this->factory->create('Symfony\Component\Form\Extension\Core\Type\ChoiceType', null, array( 'multiple' => true, 'expanded' => false, 'choices' => array('test'), @@ -715,7 +715,7 @@ class ChoiceTypeTest extends \Symfony\Component\Form\Test\TypeTestCase public function testSubmitSingleChoiceExpandedWithEmptyData() { - $form = $this->factory->create('choice', null, array( + $form = $this->factory->create('Symfony\Component\Form\Extension\Core\Type\ChoiceType', null, array( 'multiple' => false, 'expanded' => true, 'choices' => array('test'), @@ -730,7 +730,7 @@ class ChoiceTypeTest extends \Symfony\Component\Form\Test\TypeTestCase public function testSubmitMultipleChoiceExpandedWithEmptyData() { - $form = $this->factory->create('choice', null, array( + $form = $this->factory->create('Symfony\Component\Form\Extension\Core\Type\ChoiceType', null, array( 'multiple' => true, 'expanded' => true, 'choices' => array('test'),