Skip to content

Commit d6418d4

Browse files
committed
minor symfony#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 symfony#17694 | Fixed tickets | - | License | MIT | Doc PR | - - [x] Wait for symfony#17694 to be merged in 2.8 Commits ------- beb70d9 fix FQCN in tests added by symfony#17694
2 parents e692752 + beb70d9 commit d6418d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -773,7 +773,7 @@ public function testOverrideChoicesValues()
773773

774774
$this->persist(array($entity1, $entity2));
775775

776-
$field = $this->factory->createNamed('name', 'entity', null, array(
776+
$field = $this->factory->createNamed('name', 'Symfony\Bridge\Doctrine\Form\Type\EntityType', null, array(
777777
'em' => 'default',
778778
'class' => self::SINGLE_IDENT_CLASS,
779779
'choice_label' => 'name',
@@ -795,7 +795,7 @@ public function testOverrideChoicesValuesWithCallable()
795795

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

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

0 commit comments

Comments
 (0)