8000 minor #19213 fixed form tests (fabpot) · symfony/symfony@fd24e0a · GitHub
[go: up one dir, main page]

Skip to content

Commit fd24e0a

Browse files
committed
minor #19213 fixed form tests (fabpot)
This PR was merged into the 2.8 branch. Discussion ---------- fixed form tests | Q | A | ------------- | --- | Branch? | 2.8 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | no | Fixed tickets | n/a | License | MIT | Doc PR | n/a Commits ------- d0130d9 fixed form tests
2 parents c278399 + d0130d9 commit fd24e0a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -685,7 +685,7 @@ public function testSubmitSingleNonExpandedObjectChoices()
685685

686686
public function testSubmitSingleChoiceWithEmptyData()
687687
{
688-
$form = $this->factory->create('choice', null, array(
688+
$form = $this->factory->create('Symfony\Component\Form\Extension\Core\Type\ChoiceType', null, array(
689689
'multiple' => false,
690690
'expanded' => false,
691691
'choices' => array('test'),
@@ -700,7 +700,7 @@ public function testSubmitSingleChoiceWithEmptyData()
700700

701701
public function testSubmitMultipleChoiceWithEmptyData()< 8000 /div>
702702
{
703-
$form = $this->factory->create('choice', null, array(
703+
$form = $this->factory->create('Symfony\Component\Form\Extension\Core\Type\ChoiceType', null, array(
704704
'multiple' => true,
705705
'expanded' => false,
706706
'choices' => array('test'),
@@ -715,7 +715,7 @@ public function testSubmitMultipleChoiceWithEmptyData()
715715

716716
public function testSubmitSingleChoiceExpandedWithEmptyData()
717717
{
718-
$form = $this->factory->create('choice', null, array(
718+
$form = $this->factory->create('Symfony\Component\Form\Extension\Core\Type\ChoiceType', null, array(
719719
'multiple' => false,
720720
'expanded' => true,
721721
'choices' => array('test'),
@@ -730,7 +730,7 @@ public function testSubmitSingleChoiceExpandedWithEmptyData()
730730

731731
public function testSubmitMultipleChoiceExpandedWithEmptyData()
732732
{
733-
$form = $this->factory->create('choice', null, array(
733+
$form = $this->factory->create('Symfony\Component\Form\Extension\Core\Type\ChoiceType', null, array(
734734
'multiple' => true,
735735
'expanded' => true,
736736
'choices' => array('test'),

0 commit comments

Comments
 (0)
0