File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -1194,15 +1194,18 @@ public function testLoaderCachingWithParameters()
1194
1194
'property3 ' => 2 ,
1195
1195
));
1196
1196
1197
- $ choiceList1 = $ form ->get ('property1 ' )->getConfig ()->getOption ('choice_list ' );
1198
- $ choiceList2 = $ form ->get ('property2 ' )->getConfig ()->getOption ('choice_list ' );
1199
- $ choiceList3 = $ form ->get ('property3 ' )->getConfig ()->getOption ('choice_list ' );
1197
+ $ choiceLoader1 = $ form ->get ('property1 ' )->getConfig ()->getOption ('choice_loader ' );
1198
+ $ choiceLoader2 = $ form ->get ('property2 ' )->getConfig ()->getOption ('choice_loader ' );
1199
+ $ choiceLoader3 = $ form ->get ('property3 ' )->getConfig ()->getOption ('choice_loader ' );
1200
1200
1201
- $ this ->assertInstanceOf ('Symfony\Component\Form\ChoiceList\ChoiceListInterface ' , $ choiceList1 );
1202
- $ this ->assertSame ($ choiceList1 , $ choiceList2 );
1203
- $ this ->assertSame ($ choiceList1 , $ choiceList3 );
1201
+ $ this ->assertInstanceOf ('Symfony\Component\Form\ChoiceList\Loader\ChoiceLoaderInterface ' , $ choiceLoader1 );
1202
+ $ this ->assertSame ($ choiceLoader1 , $ choiceLoader2 );
1203
+ $ this ->assertSame ($ choiceLoader1 , $ choiceLoader3 );
1204
1204
}
1205
1205
1206
+ /**
1207
+ * @group legacy
1208
+ */
1206
1209
public function testCacheChoiceLists ()
1207
1210
{
1208
1211
$ entity1 = new SingleIntIdEntity (1 , 'Foo ' );
You can’t perform that action at this time.
0 commit comments