minor #17699 [2.8] [DoctrineBridge] fix tests added in EntityType with FQCN (HeahDude)

This PR was merged into the 2.8 branch.

Discussion
----------

[2.8] [DoctrineBridge] fix tests added in EntityType with FQCN

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | needs #17694
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

- [x] Wait for #17694 to be merged in 2.8

Commits
-------

beb70d9 fix FQCN in tests added by #17694
This commit is contained in:
Fabien Potencier 2016-02-15 10:18:04 +01:00
commit d6418d4b36

View File

@ -773,7 +773,7 @@ class EntityTypeTest extends TypeTestCase
$this->persist(array($entity1, $entity2));
$field = $this->factory->createNamed('name', 'entity', null, array(
$field = $this->factory->createNamed('name', 'Symfony\Bridge\Doctrine\Form\Type\EntityType', null, array(
'em' => 'default',
'class' => self::SINGLE_IDENT_CLASS,
'choice_label' => 'name',
@ -795,7 +795,7 @@ class EntityTypeTest extends TypeTestCase
$this->persist(array($entity1, $entity2));
$field = $this->factory->createNamed('name', 'entity', null, array(
$field = $this->factory->createNamed('name', 'Symfony\Bridge\Doctrine\Form\Type\EntityType', null, array(
'em' => 'default',
'class' => self::ITEM_GROUP_CLASS,
'choice_label' => 'name',