Added RouterGroupTest unit-tests.

This commit is contained in:
Simon Sessingø
2017-09-03 16:49:15 +01:00
parent 3a90578351
commit 7f924c7d0a
4 changed files with 35 additions and 4 deletions
+2
View File
@@ -258,6 +258,7 @@ class Router
if ($rewriteUrl !== null && $rewriteUrl !== $url) {
unset($this->processedRoutes[$i]);
$this->processedRoutes = array_values($this->processedRoutes);
return $this->routeRequest(true);
}
@@ -334,6 +335,7 @@ class Router
if ($rewriteUrl !== null && $rewriteUrl !== $url) {
unset($this->exceptionHandlers[$i]);
$this->exceptionHandlers = array_values($this->exceptionHandlers);
return $this->routeRequest(true);
}
}