@@ -616,7 +616,7 @@ public function testSubmitSingleNonExpandedStringCastableIdentifier()
616616
617617 $ this ->persist (array ($ entity1 , $ entity2 ));
618618
619- $ field = $ this ->factory ->createNamed ('name ' , ' entity ' , null , array (
619+ $ field = $ this ->factory ->createNamed ('name ' , EntityType::class , null , array (
620620 'multiple ' => false ,
621621 'expanded ' => false ,
622622 'em ' => 'default ' ,
@@ -638,7 +638,7 @@ public function testSubmitSingleStringCastableIdentifierExpanded()
638638
639639 $ this ->persist (array ($ entity1 , $ entity2 ));
640640
641- $ field = $ this ->factory ->createNamed ('name ' , ' entity ' , null , array (
641+ $ field = $ this ->factory ->createNamed ('name ' , EntityType::class , null , array (
642642 'multiple ' => false ,
643643 'expanded ' => true ,
644644 'em ' => 'default ' ,
@@ -664,7 +664,7 @@ public function testSubmitMultipleNonExpandedStringCastableIdentifierForExisting
664664
665665 $ this ->persist (array ($ entity1 , $ entity2 , $ entity3 ));
666666
667- $ field = $ this ->factory ->createNamed ('name ' , ' entity ' , null , array (
667+ $ field = $ this ->factory ->createNamed ('name ' , EntityType::class , null , array (
668668 'multiple ' => true ,
669669 'expanded ' => false ,
670670 'em ' => 'default ' ,
@@ -695,7 +695,7 @@ public function testSubmitMultipleNonExpandedStringCastableIdentifier()
695695
696696 $ this ->persist (array ($ entity1 , $ entity2 , $ entity3 ));
697697
698- $ field = $ this ->factory ->createNamed ('name ' , ' entity ' , null , array (
698+ $ field = $ this ->factory ->createNamed ('name ' , EntityType::class , null , array (
699699 'multiple ' => true ,
700700 'expanded ' => false ,
701701 'em ' => 'default ' ,
@@ -720,7 +720,7 @@ public function testSubmitMultipleStringCastableIdentifierExpanded()
720720
721721 $ this ->persist (array ($ entity1 , $ entity2 , $ entity3 ));
722722
723- $ field = $ this ->factory ->createNamed ('name ' , ' entity ' , null , array (
723+ $ field = $ this ->factory ->createNamed ('name ' , EntityType::class , null , array (
724724 'multiple ' => true ,
725725 'expanded ' => true ,
726726 'em ' => 'default ' ,
0 commit comments