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 46645ec

Browse filesBrowse files
committed
minor #31327 [TwigBridge] fix cross-version form theme tests (xabbuh)
This PR was merged into the 3.4 branch. Discussion ---------- [TwigBridge] fix cross-version form theme tests | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | Commits ------- 730df08 relax assertions in tests
2 parents e197c9a + 730df08 commit 46645ec
Copy full SHA for 46645ec

File tree

Expand file treeCollapse file tree

1 file changed

+1
-6
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-6
lines changed

‎src/Symfony/Bridge/Twig/Tests/Extension/AbstractBootstrap3LayoutTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Bridge/Twig/Tests/Extension/AbstractBootstrap3LayoutTest.php
+1-6Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2376,11 +2376,7 @@ public function testTimezone()
23762376
[@name="name"]
23772377
[@class="my&class form-control"]
23782378
[not(@required)]
2379-
[./optgroup
2380-
[@label="Europe"]
2381-
[./option[@value="Europe/Vienna"][@selected="selected"][.="Vienna"]]
2382-
]
2383-
[count(./optgroup)>10]
2379+
[.//option[@value="Europe/Vienna"][@selected="selected"]]
23842380
[count(.//option)>200]
23852381
'
23862382
);
@@ -2397,7 +2393,6 @@ public function testTimezoneWithPlaceholder()
23972393
'/select
23982394
[@class="my&class form-control"]
23992395
[./option[@value=""][not(@selected)][not(@disabled)][.="[trans]Select&Timezone[/trans]"]]
2400-
[count(./optgroup)>10]
24012396
[count(.//option)>201]
24022397
'
24032398
);

0 commit comments

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