Skip to content

Commit

Permalink
Fix travis-tests for php 7.2 (PHPUnit 7.5.0 expects 3rd parameter str…
Browse files Browse the repository at this point in the history
…ing in assertArrayHasKey, not null)
  • Loading branch information
Yauheni Yurkevich authored and Yauheni Yurkevich committed Dec 29, 2018
1 parent dcd6b67 commit 2093423
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/HostTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public static function setUpBeforeClass()
/**
* @dataProvider generateDataForTest
*/
public function testHost($robotsTxtContent, $expectedHost = NULL, $message = NULL)
public function testHost($robotsTxtContent, $expectedHost = NULL, $message = '')
{
// init parser
$parser = new RobotsTxtParser($robotsTxtContent);
Expand Down

0 comments on commit 2093423

Please sign in to comment.