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

Appearance settings

Commit 6977583

Browse filesBrowse files
committed
[2.8] [Form] minor fix some tests with placeholder in AbstractLayout
1 parent 4cbb3fd commit 6977583
Copy full SHA for 6977583

File tree

Expand file treeCollapse file tree

2 files changed

+5
-2
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+5
-2
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/Tests/AbstractBootstrap3LayoutTest.php
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -847,7 +847,8 @@ public function testSingleChoiceExpandedWithPlaceholderWithoutTranslation()
847847
'choices_as_values' => true,
848848
'multiple' => false,
849849
'expanded' => true,
850-
'translation_domain' => false,
850+
'required' => false,
851+
'choice_translation_domain' => false,
851852
'placeholder' => 'Placeholder&Not&Translated',
852853
));
853854

‎src/Symfony/Component/Form/Tests/AbstractLayoutTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/Tests/AbstractLayoutTest.php
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1016,6 +1016,7 @@ public function testSingleChoiceExpandedWithoutTranslation()
10161016
'multiple' => false,
10171017
'expanded' => true,
10181018
'choice_translation_domain' => false,
1019+
'placeholder' => 'Placeholder&Not&Translated',
10191020
));
10201021

10211022
$this->assertWidgetMatchesXpath($form->createView(), array(),
@@ -1092,7 +1093,8 @@ public function testSingleChoiceExpandedWithPlaceholderWithoutTranslation()
10921093
'choices_as_values' => true,
10931094
'multiple' => false,
10941095
'expanded' => true,
1095-
'translation_domain' => false,
1096+
'required' => false,
1097+
'choice_translation_domain' => false,
10961098
'placeholder' => 'Placeholder&Not&Translated',
10971099
));
10981100

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.