From 5f0fdd951f3096bac32f6e2b60a77a78348b7053 Mon Sep 17 00:00:00 2001 From: Dominique FOURNIER Date: Tue, 14 Jun 2022 16:40:39 +0200 Subject: [PATCH] Tests/RobotstxtTest.php : The crawldelay is "null" if not defined in robots.txt file --- Tests/RobotstxtTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/RobotstxtTest.php b/Tests/RobotstxtTest.php index 686e699..ad159eb 100644 --- a/Tests/RobotstxtTest.php +++ b/Tests/RobotstxtTest.php @@ -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