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
This commit is contained in:
Fabien Potencier 2016-02-26 07:25:19 +01:00
commit 1f33be2cd2

View File

@ -158,7 +158,7 @@ class ChoiceTypeTest extends \Symfony\Component\Form\Test\TypeTestCase
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 @@ class ChoiceTypeTest extends \Symfony\Component\Form\Test\TypeTestCase
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 @@ class ChoiceTypeTest extends \Symfony\Component\Form\Test\TypeTestCase
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 @@ class ChoiceTypeTest extends \Symfony\Component\Form\Test\TypeTestCase
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 @@ class ChoiceTypeTest extends \Symfony\Component\Form\Test\TypeTestCase
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 @@ class ChoiceTypeTest extends \Symfony\Component\Form\Test\TypeTestCase
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 @@ class ChoiceTypeTest extends \Symfony\Component\Form\Test\TypeTestCase
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 @@ class ChoiceTypeTest extends \Symfony\Component\Form\Test\TypeTestCase
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,