diff --git a/README.md b/README.md index d4cb2d6..e7e1541 100644 --- a/README.md +++ b/README.md @@ -36,3 +36,11 @@ return [ ``` > Please note that the module name *sitemap* is required and should not be changed! + +## Testing + +In order to run the unit tests execute: + +```sh +./vendor/bin/phpunit tests/ +``` \ No newline at end of file diff --git a/src/controllers/SitemapController.php b/src/controllers/SitemapController.php index a85bdaa..cccece3 100644 --- a/src/controllers/SitemapController.php +++ b/src/controllers/SitemapController.php @@ -77,7 +77,6 @@ private function buildSitemapfile($sitemapFile) } $lastModified = $navItem->timestamp_update == 0 ? $navItem->timestamp_create : $navItem->timestamp_update; - var_dump($urls); $sitemap->addItem($urls, $lastModified); } }