diff --git a/src/Symfony/Component/Form/Tests/AbstractBootstrap3LayoutTest.php b/src/Symfony/Component/Form/Tests/AbstractBootstrap3LayoutTest.php index f42debfa7e24..68716f8683dd 100644 --- a/src/Symfony/Component/Form/Tests/AbstractBootstrap3LayoutTest.php +++ b/src/Symfony/Component/Form/Tests/AbstractBootstrap3LayoutTest.php @@ -847,7 +847,8 @@ public function testSingleChoiceExpandedWithPlaceholderWithoutTranslation() 'choices_as_values' => true, 'multiple' => false, 'expanded' => true, - 'translation_domain' => false, + 'required' => false, + 'choice_translation_domain' => false, 'placeholder' => 'Placeholder&Not&Translated', )); diff --git a/src/Symfony/Component/Form/Tests/AbstractLayoutTest.php b/src/Symfony/Component/Form/Tests/AbstractLayoutTest.php index 95d3b5fedd8d..9e2c38cc6906 100644 --- a/src/Symfony/Component/Form/Tests/AbstractLayoutTest.php +++ b/src/Symfony/Component/Form/Tests/AbstractLayoutTest.php @@ -1016,6 +1016,7 @@ public function testSingleChoiceExpandedWithoutTranslation() 'multiple' => false, 'expanded' => true, 'choice_translation_domain' => false, + 'placeholder' => 'Placeholder&Not&Translated', )); $this->assertWidgetMatchesXpath($form->createView(), array(), @@ -1092,7 +1093,8 @@ public function testSingleChoiceExpandedWithPlaceholderWithoutTranslation() 'choices_as_values' => true, 'multiple' => false, 'expanded' => true, - 'translation_domain' => false, + 'required' => false, + 'choice_translation_domain' => false, 'placeholder' => 'Placeholder&Not&Translated', ));