Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfd24e0a

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/aCommits-------d0130d9 fixed form tests
2 parentsc278399 +d0130d9 commitfd24e0a

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
publicfunctiontestSubmitSingleChoiceWithEmptyData()
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
publicfunctiontestSubmitMultipleChoiceWithEmptyData()
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
publicfunctiontestSubmitSingleChoiceExpandedWithEmptyData()
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
publicfunctiontestSubmitMultipleChoiceExpandedWithEmptyData()
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)

[8]ページ先頭

©2009-2025 Movatter.jp