Tests/RobotstxtTest.php : The crawldelay is "null" if not defined in robots.txt file

This commit is contained in:
2022-06-14 16:40:39 +02:00
parent 899221558a
commit 5f0fdd951f

View File

@@ -36,7 +36,7 @@ class RobotstxtTest extends \PHPUnit_Framework_TestCase
{
$robotstxt = new Robotstxt ("", "domsearch");
$res = $robotstxt->crawldelay ();
$this->assertSame ($res, 3);
$this->assertSame ($res, null);
}
// Allow