inital
This commit is contained in:
21
tests/CrawlerTest.php
Normal file
21
tests/CrawlerTest.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
use \PHPUnit\Framework\TestCase;
|
||||
|
||||
use JHodges\Sitemap\Crawler;
|
||||
|
||||
class CrawlerTest extends TestCase{
|
||||
|
||||
public function testCrawl(){
|
||||
$crawler=new Crawler();
|
||||
$sitemap=$crawler->crawl('http://jhodges.co.uk');
|
||||
print_r($sitemap);
|
||||
return $sitemap;
|
||||
}
|
||||
|
||||
/**
|
||||
* @depends testCrawl
|
||||
*/
|
||||
public function testBrokenLinks($sitemap){
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user