Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1f33be2

Browse filesBrowse files
committed
minor #17759 [WIP] [2.8] [Form] fix FQCN in tests added by #17760 (HeahDude)
This PR was merged into the 2.8 branch. Discussion ---------- [WIP] [2.8] [Form] fix FQCN in tests added by #17760 | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | not yet | Fixed tickets | n/a | License | MIT | Doc PR | - - [x] Update tests from #17760 - [x] Wait for #17760 to be merged in 2.8 Commits ------- acdd7db [Form] fix tests added by #17760 with FQCN
2 parents e899fa3 + acdd7db commit 1f33be2
Copy full SHA for 1f33be2

File tree

1 file changed

+8
-8
lines changed
Filter options

1 file changed

+8
-8
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/Tests/Extension/Core/Type/ChoiceTypeTest.php
+8-8Lines changed: 8 additions & 8 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.