Skip to content

Commit feed607

Browse files
HeahDudefabpot
authored andcommitted
[Form] fix FQCN in tests added by symfony#17798
1 parent 82eb951 commit feed607

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,7 @@ public function testSingleChoiceExpanded()
719719

720720
public function testSingleChoiceExpandedWithLabelsAsFalse()
721721
{
722-
$form = $this->factory->createNamed('name', 'choice', '&a', array(
722+
$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\ChoiceType', '&a', array(
723723
'choices' => array('Choice&A' => '&a', 'Choice&B' => '&b'),
724724
'choices_as_values' => true,
725725
'choice_label' => false,
@@ -754,7 +754,7 @@ public function testSingleChoiceExpandedWithLabelsAsFalse()
754754

755755
public function testSingleChoiceExpandedWithLabelsSetByCallable()
756756
{
757-
$form = $this->factory->createNamed('name', 'choice', '&a', array(
757+
$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\ChoiceType', '&a', array(
758758
'choices' => array('Choice&A' => '&a', 'Choice&B' => '&b', 'Choice&C' => '&c'),
759759
'choices_as_values' => true,
760760
'choice_label' => function ($choice, $label, $value) {
@@ -805,7 +805,7 @@ public function testSingleChoiceExpandedWithLabelsSetByCallable()
805805

806806
public function testSingleChoiceExpandedWithLabelsSetFalseByCallable()
807807
{
808-
$form = $this->factory->createNamed('name', 'choice', '&a', array(
808+
$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\ChoiceType', '&a', array(
809809
'choices' => array('Choice&A' => '&a', 'Choice&B' => '&b'),
810810
'choices_as_values' => true,
811811
'choice_label' => function () {
@@ -1095,7 +1095,7 @@ public function testMultipleChoiceExpanded()
10951095

10961096
public function testMultipleChoiceExpandedWithLabelsAsFalse()
10971097
{
1098-
$form = $this->factory->createNamed('name', 'choice', array('&a'), array(
1098+
$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\ChoiceType', array('&a'), array(
10991099
'choices' => array('Choice&A' => '&a', 'Choice&B' => '&b'),
11001100
'choices_as_values' => true,
11011101
'choice_label' => false,
@@ -1130,7 +1130,7 @@ public function testMultipleChoiceExpandedWithLabelsAsFalse()
11301130

11311131
public function testMultipleChoiceExpandedWithLabelsSetByCallable()
11321132
{
1133-
$form = $this->factory->createNamed('name', 'choice', array('&a'), array(
1133+
$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\ChoiceType', array('&a'), array(
11341134
'choices' => array('Choice&A' => '&a', 'Choice&B' => '&b', 'Choice&C' => '&c'),
11351135
'choices_as_values' => true,
11361136
'choice_label' => function ($choice, $label, $value) {
@@ -1181,7 +1181,7 @@ public function testMultipleChoiceExpandedWithLabelsSetByCallable()
11811181

11821182
public function testMultipleChoiceExpandedWithLabelsSetFalseByCallable()
11831183
{
1184-
$form = $this->factory->createNamed('name', 'choice', array('&a'), array(
1184+
$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\ChoiceType', array('&a'), array(
11851185
'choices' => array('Choice&A' => '&a', 'Choice&B' => '&b'),
11861186
'choices_as_values' => true,
11871187
'choice_label' => function () {

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,7 @@ public function testChoiceRowWithCustomBlock()
709709

710710
public function testSingleChoiceExpandedWithLabelsAsFalse()
711711
{
712-
$form = $this->factory->createNamed('name', 'choice', '&a', array(
712+
$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\ChoiceType', '&a', array(
713713
'choices' => array('Choice&A' => '&a', 'Choice&B' => '&b'),
714714
'choices_as_values' => true,
715715
'choice_label' => false,
@@ -732,7 +732,7 @@ public function testSingleChoiceExpandedWithLabelsAsFalse()
732732

733733
public function testSingleChoiceExpandedWithLabelsSetByCallable()
734734
{
735-
$form = $this->factory->createNamed('name', 'choice', '&a', array(
735+
$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\ChoiceType', '&a', array(
736736
'choices' => array('Choice&A' => '&a', 'Choice&B' => '&b', 'Choice&C' => '&c'),
737737
'choices_as_values' => true,
738738
'choice_label' => function ($choice, $label, $value) {
@@ -764,7 +764,7 @@ public function testSingleChoiceExpandedWithLabelsSetByCallable()
764764

765765
public function testSingleChoiceExpandedWithLabelsSetFalseByCallable()
766766
{
767-
$form = $this->factory->createNamed('name', 'choice', '&a', array(
767+
$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\ChoiceType', '&a', array(
768768
'choices' => array('Choice&A' => '&a', 'Choice&B' => '&b'),
769769
'choices_as_values' => true,
770770
'choice_label' => function () {
@@ -789,7 +789,7 @@ public function testSingleChoiceExpandedWithLabelsSetFalseByCallable()
789789

790790
public function testMultipleChoiceExpandedWithLabelsAsFalse()
791791
{
792-
$form = $this->factory->createNamed('name', 'choice', array('&a'), array(
792+
$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\ChoiceType', array('&a'), array(
793793
'choices' => array('Choice&A' => '&a', 'Choice&B' => '&b'),
794794
'choices_as_values' => true,
795795
'choice_label' => false,
@@ -812,7 +812,7 @@ public function testMultipleChoiceExpandedWithLabelsAsFalse()
812812

813813
public function testMultipleChoiceExpandedWithLabelsSetByCallable()
814814
{
815-
$form = $this->factory->createNamed('name', 'choice', array('&a'), array(
815+
$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\ChoiceType', array('&a'), array(
816816
'choices' => array('Choice&A' => '&a', 'Choice&B' => '&b', 'Choice&C' => '&c'),
817817
'choices_as_values' => true,
818818
'choice_label' => function ($choice, $label, $value) {
@@ -844,7 +844,7 @@ public function testMultipleChoiceExpandedWithLabelsSetByCallable()
844844

845845
public function testMultipleChoiceExpandedWithLabelsSetFalseByCallable()
846846
{
847-
$form = $this->factory->createNamed('name', 'choice', array('&a'), array(
847+
$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\ChoiceType', array('&a'), array(
848848
'choices' => array('Choice&A' => '&a', 'Choice&B' => '&b'),
849849
'choices_as_values' => true,
850850
'choice_label' => function () {

0 commit comments

Comments
 (0)