8000 Fix unit tests in master · symfony/symfony@96e40b2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 96e40b2

Browse files
committed
Fix unit tests in master
1 parent 64515b8 commit 96e40b2

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/Symfony/Component/Form/Tests/Extension/Core/Type/ChoiceTypeTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1495,7 +1495,6 @@ public function testCustomChoiceTypeDoesNotInheritChoiceLabels()
14951495
'1' => '1',
14961496
'2' => '2',
14971497
),
1498-
'choices_as_values' => true,
14991498
)
15001499
);
15011500
$builder->add('subChoice', 'Symfony\Component\Form\Tests\Fixtures\ChoiceSubType');

src/Symfony/Component/Form/Tests/Fixtures/ChoiceSubType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class ChoiceSubType extends AbstractType
2424
*/
2525
public function configureOptions(OptionsResolver $resolver)
2626
{
27-
$resolver->setDefaults(array('expanded' => true, 'choices_as_values' => true));
27+
$resolver->setDefaults(array('expanded' => true));
2828
$resolver->setNormalizer('choices', function () {
2929
return array(
3030
'attr1' => 'Attribute 1',

0 commit comments

Comments
 (0)
0