File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
src/Symfony/Bridge/Twig/Tests/Extension Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -2376,11 +2376,7 @@ public function testTimezone()
2376
2376
[@name="name"]
2377
2377
[@class="my&class form-control"]
2378
2378
[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"]]
2384
2380
[count(.//option)>200]
2385
2381
'
2386
2382
);
@@ -2397,7 +2393,6 @@ public function testTimezoneWithPlaceholder()
2397
2393
'/select
2398
2394
[@class="my&class form-control"]
2399
2395
[./option[@value=""][not(@selected)][not(@disabled)][.="[trans]Select&Timezone[/trans]"]]
2400
- [count(./optgroup)>10]
2401
2396
[count(.//option)>201]
2402
2397
'
2403
2398
);
You can’t perform that action at this time.
0 commit comments