Skip to content

Commit f41fa21

Browse files
committed
[Form] fix tests added by symfony#17760 with FQCN
1 parent 841cd6f commit f41fa21

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public function testExpandedChoicesOptionsTurnIntoChildren()
102102

103103
public function testChoiceListWithScalarValues()
104104
{
105-
$view = $this->factory->create('choice', null, array(
105+
$view = $this->factory->create('Symfony\Component\Form\Extension\Core\Type\ChoiceType', null, array(
106106
'choices' => $this->scalarChoices,
107107
'choices_as_values' => true,
108108
))->createView();
@@ -117,7 +117,7 @@ public function testChoiceListWithScalarValues()
117117

118118
public function testChoiceListWithScalarValuesAndFalseAsPreSetData()
119119
{
120-
$view = $this->factory->create('choice', false, array(
120+
$view = $this->factory->create('Symfony\Component\Form\Extension\Core\Type\ChoiceType', false, array(
121121
'choices' => $this->scalarChoices,
122122
'choices_as_values' => true,
123123
))->createView();
@@ -127,7 +127,7 @@ public function testChoiceListWithScalarValuesAndFalseAsPreSetData()
127127

128128
public function testExpandedChoiceListWithScalarValues()
129129
{
130-
$view = $this->factory->create('choice', null, array(
130+
$view = $this->factory->create('Symfony\Component\Form\Extension\Core\Type\ChoiceType', null, array(
131131
'choices' => $this->scalarChoices,
132132
'choices_as_values' => true,
133133
'expanded' => true,
@@ -140,7 +140,7 @@ public function testExpandedChoiceListWithScalarValues()
140140

141141
public function testExpandedChoiceListWithScalarValuesAndFalseAsPreSetData()
142142
{
143-
$view = $this->factory->create('choice', false, array(
143+
$view = $this->factory->create('Symfony\Component\Form\Extension\Core\Type\ChoiceType', false, array(
144144
'choices' => $this->scalarChoices,
145145
'choices_as_values' => true,
146146
'expanded' => true,
@@ -209,7 +209,7 @@ public function testPlaceholderNotPresentIfEmptyChoice()
209209

210210
public function testPlaceholderWithBooleanChoices()
211211
{
212-
$form = $this->factory->create('choice', null, array(
212+
$form = $this->factory->create('Symfony\Component\Form\Extension\Core\Type\ChoiceType', null, array(
213213
'multiple' => false,
214214
'expanded' => false,
215215
'required' => false,
@@ -231,7 +231,7 @@ public function testPlaceholderWithBooleanChoices()
231231

232232
public function testPlaceholderWithBooleanChoicesWithFalseAsPreSetData()
233233
{
234-
$form = $this->factory->create('choice', false, array(
234+
$form = $this->factory->create('Symfony\Component\Form\Extension\Core\Type\ChoiceType', false, array(
235235
'multiple' => false,
236236
'expanded' => false,
237237
'required' => false,
@@ -253,7 +253,7 @@ public function testPlaceholderWithBooleanChoicesWithFalseAsPreSetData()
253253

254254
public function testPlaceholderWithExpandedBooleanChoices()
255255
{
256-
$form = $this->factory->create('choice', null, array(
256+
$form = $this->factory->create('Symfony\Component\Form\Extension\Core\Type\ChoiceType', null, array(
257257
'multiple' => false,
258258
'expanded' => true,
259259
'required' => false,
@@ -278,7 +278,7 @@ public function testPlaceholderWithExpandedBooleanChoices()
278278

279279
public function testPlaceholderWithExpandedBooleanChoicesAndWithFalseAsPreSetData()
280280
{
281-
$form = $this->factory->create('choice', false, array(
281+
$form = $this->factory->create('Symfony\Component\Form\Extension\Core\Type\ChoiceType', false, array(
282282
'multiple' => false,
283283
'expanded' => true,
284284
'required' => false,

0 commit comments

Comments
 (0)