@@ -1689,7 +1689,7 @@ public function testDontPassPlaceholderIfContainedInChoices($multiple, $expanded
16891689 'expanded ' => $ expanded ,
16901690 'required ' => $ required ,
16911691 'placeholder ' => $ placeholder ,
1692- 'choices ' => array ('A ' => 'a ' , 'Empty ' => '' ),
1692+ 'choices ' => array ('Empty ' => '' , 'A ' => 'a ' ),
16931693 'choices_as_values ' => true ,
16941694 ));
16951695 $ view = $ form ->createView ();
@@ -1716,9 +1716,9 @@ public function getOptionsWithPlaceholder()
17161716 array (false , true , false , '' , 'None ' ),
17171717 array (false , true , false , null , null ),
17181718 array (false , true , false , false , null ),
1719- array ( false , true , true , ' foobar ' , ' foobar ' ),
1720- // radios should never have an empty label
1721- array (false , true , true , '' , ' None ' ),
1719+ // required radios should never have a placeholder
1720+ array ( false , true , true , ' foobar ' , null ),
1721+ array (false , true , true , '' , null ),
17221722 array (false , true , true , null , null ),
17231723 array (false , true , true , false , null ),
17241724 // multiple non-expanded
0 commit comments