Skip to content

Commit acdd7db

Browse files
committed
[Form] fix tests added by #17760 with FQCN
1 parent e899fa3 commit acdd7db

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

+8-8
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ public function testExpandedFlippedChoicesOptionsTurnIntoChildren()
158158

159159
public function testChoiceListWithScalarValues()
160160
{
161-
$view = $this->factory->create('choice', null, array(
161+
$view = $this->factory->create('Symfony\Component\Form\Extension\Core\Type\ChoiceType', null, array(
162162
'choices' => $this->scalarChoices,
163163
'choices_as_values' => true,
164164
))->createView();
@@ -173,7 +173,7 @@ public function testChoiceListWithScalarValues()
173173

174174
public function testChoiceListWithScalarValuesAndFalseAsPreSetData()
175175
{
176-
$view = $this->factory->create('choice', false, array(
176+
$view = $this->factory->create('Symfony\Component\Form\Extension\Core\Type\ChoiceType', false, array(
177177
'choices' => $this->scalarChoices,
178178
'choices_as_values' => true,
179179
))->createView();
@@ -183,7 +183,7 @@ public function testChoiceListWithScalarValuesAndFalseAsPreSetData()
183183

184184
public function testExpandedChoiceListWithScalarValues()
185185
{
186-
$view = $this->factory->create('choice', null, array(
186+
$view = $this->factory->create('Symfony\Component\Form\Extension\Core\Type\ChoiceType', null, array(
187187
'choices' => $this->scalarChoices,
188188
'choices_as_values' => true,
189189
'expanded' => true,
@@ -196,7 +196,7 @@ public function testExpandedChoiceListWithScalarValues()
196196

197197
public function testExpandedChoiceListWithScalarValuesAndFalseAsPreSetData()
198198
{
199-
$view = $this->factory->create('choice', false, array(
199+
$view = $this->factory->create('Symfony\Component\Form\Extension\Core\Type\ChoiceType', false, array(
200200
'choices' => $this->scalarChoices,
201201
'choices_as_values' => true,
202202
'expanded' => true,
@@ -269,7 +269,7 @@ public function testPlaceholderNotPresentIfEmptyChoice()
269269

270270
public function testPlaceholderWithBooleanChoices()
271271
{
272-
$form = $this->factory->create('choice', null, array(
272+
$form = $this->factory->create('Symfony\Component\Form\Extension\Core\Type\ChoiceType', null, array(
273273
'multiple' => false,
274274
'expanded' => false,
275275
'required' => false,
@@ -291,7 +291,7 @@ public function testPlaceholderWithBooleanChoices()
291291

292292
public function testPlaceholderWithBooleanChoicesWithFalseAsPreSetData()
293293
{
294-
$form = $this->factory->create('choice', false, array(
294+
$form = $this->factory->create('Symfony\Component\Form\Extension\Core\Type\ChoiceType', false, array(
295295
'multiple' => false,
296296
'expanded' => false,
297297
'required' => false,
@@ -313,7 +313,7 @@ public function testPlaceholderWithBooleanChoicesWithFalseAsPreSetData()
313313

314314
public function testPlaceholderWithExpandedBooleanChoices()
315315
{
316-
$form = $this->factory->create('choice', null, array(
316+
$form = $this->factory->create('Symfony\Component\Form\Extension\Core\Type\ChoiceType', null, array(
317317
'multiple' => false,
318318
'expanded' => true,
319319
'required' => false,
@@ -338,7 +338,7 @@ public function testPlaceholderWithExpandedBooleanChoices()
338338

339339
public function testPlaceholderWithExpandedBooleanChoicesAndWithFalseAsPreSetData()
340340
{
341-
$form = $this->factory->create('choice', false, array(
341+
$form = $this->factory->create('Symfony\Component\Form\Extension\Core\Type\ChoiceType', false, array(
342342
'multiple' => false,
343343
'expanded' => true,
344344
'required' => false,

0 commit comments

Comments
 (0)