From 9b16ab68c5878b59b3e6bf00fa27df2001ba2045 Mon Sep 17 00:00:00 2001 From: Basil Suter Date: Fri, 22 Jun 2018 14:41:21 +0200 Subject: [PATCH] dump and readme --- README.md | 8 ++++++++ src/controllers/SitemapController.php | 1 - 2 files changed, 8 insertions(+), 1 deletion(-) 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); } }