8000 fixed form tests · symfony/symfony@d0130d9 · GitHub
[go: up one dir, main page]

Skip to content

Commit d0130d9

Browse files
committed
fixed form tests
1 parent c68508f commit d0130d9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+< 8000 !-- -->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()
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