From 272cd9e98336db4c1ff6fb5a56e24c757320557f Mon Sep 17 00:00:00 2001 From: webeweb Date: Mon, 16 Jul 2018 17:45:17 +0200 Subject: [PATCH] Change matcher for unit testing --- Tests/Fixtures/App/TestFixtures.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/Fixtures/App/TestFixtures.php b/Tests/Fixtures/App/TestFixtures.php index 7f2c59b2..29d33340 100644 --- a/Tests/Fixtures/App/TestFixtures.php +++ b/Tests/Fixtures/App/TestFixtures.php @@ -64,8 +64,8 @@ public static function getNavigationTree() { $tree->getLastNode()->addNode(new NavigationNode("cURL library", null, "https://github.com/webeweb/curl-library")); $tree->getLastNode()->addNode(new NavigationNode("FTP library", null, "https://github.com/webeweb/ftp-library")); $tree->getLastNode()->addNode(new NavigationItem("fPDF library", null, "https://github.com/webeweb/fpdf-library")); - $tree->getLastNode()->addNode(new NavigationNode("SkiData library", null, "https://github.com/webeweb/skidata-library")); - $tree->getLastNode()->addNode(new NavigationNode("sMsmode library", null, "https://github.com/webeweb/smsmode-library")); + $tree->getLastNode()->addNode(new NavigationNode("SkiData library", null, "https:\/\/github.com\/webeweb\/skidata-library", NavigationInterface::NAVIGATION_MATCHER_REGEXP)); + $tree->getLastNode()->addNode(new NavigationNode("sMsmode library", null, "https://github.com/webeweb/smsmode-library", NavigationInterface::NAVIGATION_MATCHER_ROUTER)); // Return the tree. return $tree;