diff --git a/tests/CrawlerTest.php b/tests/CrawlerTest.php index a6c511f..4624bc4 100644 --- a/tests/CrawlerTest.php +++ b/tests/CrawlerTest.php @@ -370,7 +370,7 @@ public function it_should_handle_redirects_correctly_when_tracking_is_active() ], ]) ->setCrawlObserver(new CrawlLogger()) - ->startCrawling('http://localhost:8080/dir1/infernal-redirect-entry/'); + ->startCrawling('http://localhost:8080/dir1/internal-redirect-entry/'); $this->assertCrawledUrlCount(3); } diff --git a/tests/server/server.js b/tests/server/server.js index 77b9103..0ad1281 100644 --- a/tests/server/server.js +++ b/tests/server/server.js @@ -62,15 +62,15 @@ app.get('/meta-nofollow', function (request, response) { response.end('\n\nno follow it'); }); -app.get('/dir1/infernal-redirect-entry/', function (request, response) { - response.end('trapped trap-start'); +app.get('/dir1/internal-redirect-entry/', function (request, response) { + response.end('trapped trap-start'); }); -app.get('/dir1/infernal-redirect/trap/', function (request, response) { - response.redirect(301, '/dir1/infernal-redirect-entry/'); +app.get('/dir1/internal-redirect/trap/', function (request, response) { + response.redirect(301, '/dir1/internal-redirect-entry/'); }); -app.get('/dir1/loop-generator/infernal-redirect/trapped/', function (request, response) { +app.get('/dir1/loop-generator/internal-redirect/trapped/', function (request, response) { response.end('It should be crawled once'); });