Skip to content

Commit 8d83ff9

Browse files
committed
Merge branch '2.7' into 2.8
* 2.7: Increase the inlining YAML level for config:debug [Serializer] Minor: fix CS and PHPDoc [Form] fix tests [Serializer] Ensure that groups are strings [Debug] Tell that the extension is for PHP 5 only Static code analysis Update AnnotationDirectoryLoader.php added a test Escape the delimiter in Glob::toRegex [FrameworkBundle] Fix template location for PHP templates [FrameworkBundle] Add path verification to the template parsing test cases
2 parents 0611e68 + 5377825 commit 8d83ff9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/XPath/TranslatorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public function testHtmlShakespear($css, $count)
7474
$document = simplexml_import_dom($document);
7575
$bodies = $document->xpath('//body');
7676
$elements = $bodies[0]->xpath($translator->cssToXPath($css));
77-
$this->assertEquals($count, count($elements));
77+
$this->assertCount($count, $elements);
7878
}
7979

8080
public function getXpathLiteralTestData()

0 commit comments

Comments
 (0)