8000 minor #17927 [3.0] [Form/Tests] minor fix following #17787 (HeahDude) · symfony/symfony@2e22c39 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2e22c39

Browse files
committed
minor #17927 [3.0] [Form/Tests] minor fix following #17787 (HeahDude)
This PR was merged into the 3.0 branch. Discussion ---------- [3.0] [Form/Tests] minor fix following #17787 | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | n/a | License | MIT | Doc PR | - Commits ------- 020ac04 [3.0] [Tests] minor fix following #17787
2 parents fda1d6d + 020ac04 commit 2e22c39

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)
0