@@ -697,7 +697,6 @@ public function testSingleChoiceExpandedWithLabelsAsFalse()
697
697
{
698
698
$ form = $ this ->factory ->createNamed ('name ' , 'Symfony\Component\Form\Extension\Core\Type\ChoiceType ' , '&a ' , array (
699
699
'choices ' => array ('Choice&A ' => '&a ' , 'Choice&B ' => '&b ' ),
700
- 'choices_as_values ' => true ,
701
700
'choice_label ' => false ,
702
701
'multiple ' => false ,
703
702
'expanded ' => true ,
@@ -732,7 +731,6 @@ public function testSingleChoiceExpandedWithLabelsSetByCallable()
732
731
{
733
732
$ form = $ this ->factory ->createNamed ('name ' , 'Symfony\Component\Form\Extension\Core\Type\ChoiceType ' , '&a ' , array (
734
733
'choices ' => array ('Choice&A ' => '&a ' , 'Choice&B ' => '&b ' , 'Choice&C ' => '&c ' ),
735
- 'choices_as_values ' => true ,
736
734
'choice_label ' => function ($ choice , $ label , $ value ) {
737
735
if ('&b ' === $ choice ) {
738
736
return false ;
@@ -783,7 +781,6 @@ public function testSingleChoiceExpandedWithLabelsSetFalseByCallable()
783
781
{
784
782
$ form = $ this ->factory ->createNamed ('name ' , 'Symfony\Component\Form\Extension\Core\Type\ChoiceType ' , '&a ' , array (
785
783
'choices ' => array ('Choice&A ' => '&a ' , 'Choice&B ' => '&b ' ),
786
- 'choices_as_values ' => true ,
787
784
'choice_label ' => function () {
788
785
return false ;
789
786
},
@@ -1065,7 +1062,6 @@ public function testMultipleChoiceExpandedWithLabelsAsFalse()
1065
1062
{
1066
1063
$ form = $ this ->factory ->createNamed ('name ' , 'Symfony\Component\Form\Extension\Core\Type\ChoiceType ' , array ('&a ' ), array (
1067
1064
'choices ' => array ('Choice&A ' => '&a ' , 'Choice&B ' => '&b ' ),
1068
- 'choices_as_values ' => true ,
1069
1065
'choice_label ' => false ,
1070
1066
'multiple ' => true ,
1071
1067
'expanded ' => true ,
@@ -1100,7 +1096,6 @@ public function testMultipleChoiceExpandedWithLabelsSetByCallable()
1100
1096
{
1101
1097
$ form = $ this ->factory ->createNamed ('name ' , 'Symfony\Component\Form\Extension\Core\Type\ChoiceType ' , array ('&a ' ), array (
1102
1098
'choices ' => array ('Choice&A ' => '&a ' , 'Choice&B ' => '&b ' , 'Choice&C ' => '&c ' ),
1103
- 'choices_as_values ' => true ,
1104
1099
'choice_label ' => function ($ choice , $ label , $ value ) {
1105
1100
if ('&b ' === $ choice ) {
1106
1101
return false ;
@@ -1151,7 +1146,6 @@ public function testMultipleChoiceExpandedWithLabelsSetFalseByCallable()
1151
1146
{
1152
1147
$ form = $ this ->factory ->createNamed ('name ' , 'Symfony\Component\Form\Extension\Core\Type\ChoiceType ' , array ('&a ' ), array (
1153
1148
'choices ' => array ('Choice&A ' => '&a ' , 'Choice&B ' => '&b ' ),
1154
- 'choices_as_values ' => true ,
1155
1149
'choice_label ' => function () {
1156
1150
return false ;
1157
1151
},
0 commit comments