Skip to content

Commit 020ac04

Browse files
committed
[3.0] [Tests] minor fix following symfony#17787
1 parent 6782cfa commit 020ac04

File tree

3 files changed

+0
-4
lines changed

3 files changed

+0
-4
lines changed

src/Symfony/Component/Form/Tests/AbstractBootstrap3LayoutTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,6 @@ public function testSelectWithSizeBiggerThanOneCanBeRequired()
235235
{
236236
$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\ChoiceType', null, array(
237237
'choices' => array('a', 'b'),
238-
'choices_as_values' => true,
239238
'multiple' => false,
240239
'expanded' => false,
241240
'attr' => array('size' => 2),

src/Symfony/Component/Form/Tests/AbstractLayoutTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,6 @@ public function testSelectWithSizeBiggerThanOneCanBeRequired()
521521
{
522522
$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\ChoiceType', null, array(
523523
'choices' => array('a', 'b'),
524-
'choices_as_values' => true,
525524
'multiple' => false,
526525
'expanded' => false,
527526
'attr' => array('size' => 2),

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1306,7 +1306,6 @@ public function testDontPassPlaceholderIfContainedInChoices($multiple, $expanded
13061306
'required' => $required,
13071307
'placeholder' => $placeholder,
13081308
'choices' => array('Empty' => '', 'A' => 'a'),
1309-
'choices_as_values' => true,
13101309
));
13111310
$view = $form->createView();
13121311

@@ -1496,7 +1495,6 @@ public function testCustomChoiceTypeDoesNotInheritChoiceLabels()
14961495
'1' => '1',
14971496
'2' => '2',
14981497
),
1499-
'choices_as_values' => true,
15001498
)
15011499
);
15021500
$builder->add('subChoice', 'Symfony\Component\Form\Tests\Fixtures\ChoiceSubType');

0 commit comments

Comments
 (0)