We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 99e25f6 + 57731e5 commit 10aac7bCopy full SHA for 10aac7b
Tests/XPath/TranslatorTest.php
@@ -37,7 +37,7 @@ public function testXmlLang($css, array $elementsId)
37
$translator = new Translator();
38
$document = new \SimpleXMLElement(file_get_contents(__DIR__.'/Fixtures/lang.xml'));
39
$elements = $document->xpath($translator->cssToXPath($css));
40
- $this->assertEquals(count($elementsId), count($elements));
+ $this->assertCount(count($elementsId), $elements);
41
foreach ($elements as $element) {
42
$this->assertTrue(in_array($element->attributes()->id, $elementsId));
43
}
0 commit comments