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 1ebf31b92c7aa..4d49a003b6eab 100644 --- a/src/Symfony/Component/Form/Tests/Extension/Core/Type/ChoiceTypeTest.php +++ b/src/Symfony/Component/Form/Tests/Extension/Core/Type/ChoiceTypeTest.php @@ -158,7 +158,7 @@ public function testExpandedFlippedChoicesOptionsTurnIntoChildren() public function testChoiceListWithScalarValues() { - $view = $this->factory->create('choice', null, array( + $view = $this->factory->create('Symfony\Component\Form\Extension\Core\Type\ChoiceType', null, array( 'choices' => $this->scalarChoices, 'choices_as_values' => true, ))->createView(); @@ -173,7 +173,7 @@ public function testChoiceListWithScalarValues() public function testChoiceListWithScalarValuesAndFalseAsPreSetData() { - $view = $this->factory->create('choice', false, array( + $view = $this->factory->create('Symfony\Component\Form\Extension\Core\Type\ChoiceType', false, array( 'choices' => $this->scalarChoices, 'choices_as_values' => true, ))->createView(); @@ -183,7 +183,7 @@ public function testChoiceListWithScalarValuesAndFalseAsPreSetData() public function testExpandedChoiceListWithScalarValues() { - $view = $this->factory->create('choice', null, array( + $view = $this->factory->create('Symfony\Component\Form\Extension\Core\Type\ChoiceType', null, array( 'choices' => $this->scalarChoices, 'choices_as_values' => true, 'expanded' => true, @@ -196,7 +196,7 @@ public function testExpandedChoiceListWithScalarValues() public function testExpandedChoiceListWithScalarValuesAndFalseAsPreSetData() { - $view = $this->factory->create('choice', false, array( + $view = $this->factory->create('Symfony\Component\Form\Extension\Core\Type\ChoiceType', false, array( 'choices' => $this->scalarChoices, 'choices_as_values' => true, 'expanded' => true, @@ -269,7 +269,7 @@ public function testPlaceholderNotPresentIfEmptyChoice() public function testPlaceholderWithBooleanChoices() { - $form = $this->factory->create('choice', null, array( + $form = $this->factory->create('Symfony\Component\Form\Extension\Core\Type\ChoiceType', null, array( 'multiple' => false, 'expanded' => false, 'required' => false, @@ -291,7 +291,7 @@ public function testPlaceholderWithBooleanChoices() public function testPlaceholderWithBooleanChoicesWithFalseAsPreSetData() { - $form = $this->factory->create('choice', false, array( + $form = $this->factory->create('Symfony\Component\Form\Extension\Core\Type\ChoiceType', false, array( 'multiple' => false, 'expanded' => false, 'required' => false, @@ -313,7 +313,7 @@ public function testPlaceholderWithBooleanChoicesWithFalseAsPreSetData() public function testPlaceholderWithExpandedBooleanChoices() { - $form = $this->factory->create('choice', null, array( + $form = $this->factory->create('Symfony\Component\Form\Extension\Core\Type\ChoiceType', null, array( 'multiple' => false, 'expanded' => true, 'required' => false, @@ -338,7 +338,7 @@ public function testPlaceholderWithExpandedBooleanChoices() public function testPlaceholderWithExpandedBooleanChoicesAndWithFalseAsPreSetData() { - $form = $this->factory->create('choice', false, array( + $form = $this->factory->create('Symfony\Component\Form\Extension\Core\Type\ChoiceType', false, array( 'multiple' => false, 'expanded' => true, 'required' => false,