Skip to content

Commit 7413168

Browse files
Merge branch '4.1'
* 4.1: Fix tests for legacy phpunit versions Add missing Ukrainian translations Use an empty string as default for assertEquals
2 parents e4a8c0e + 1c4519d commit 7413168

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/CrawlerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1027,7 +1027,7 @@ public function testParents()
10271027
/**
10281028
* @dataProvider getBaseTagData
10291029
*/
1030-
public function testBaseTag($baseValue, $linkValue, $expectedUri, $currentUri = null, $description = null)
1030+
public function testBaseTag($baseValue, $linkValue, $expectedUri, $currentUri = null, $description = '')
10311031
{
10321032
$crawler = new Crawler('<html><base href="'.$baseValue.'"><a href="'.$linkValue.'"></a></html>', $currentUri);
10331033
$this->assertEquals($expectedUri, $crawler->filterXPath('//a')->link()->getUri(), $description);

0 commit comments

Comments
 (0)