Skip to content

Commit 609a6fe

Browse files
committed
reference form type by name on Symfony 2.7
1 parent a89154d commit 609a6fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bridge/Doctrine/Tests/Form/Type/EntityTypeTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -796,7 +796,7 @@ public function testChoicesForValuesOptimization()
796796

797797
$this->persist(array($entity1, $entity2));
798798

799-
$field = $this->factory->createNamed('name', 'Symfony\Bridge\Doctrine\Form\Type\EntityType', null, array(
799+
$field = $this->factory->createNamed('name', 'entity', null, array(
800800
'em' => 'default',
801801
'class' => self::SINGLE_IDENT_CLASS,
802802
'choice_label' => 'name',

0 commit comments

Comments
 (0)