8000 relax assertions in tests · symfony/symfony@730df08 · GitHub
[go: up one dir, main page]

Skip to content

Commit 730df08

Browse files
committed
relax assertions in tests
1 parent e197c9a commit 730df08

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

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

Lines 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