aboutsummaryrefslogtreecommitdiffstats
path: root/tests/controller/controller_test.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/controller/controller_test.php')
-rw-r--r--tests/controller/controller_test.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/controller/controller_test.php b/tests/controller/controller_test.php
index 550679ff07..998730589b 100644
--- a/tests/controller/controller_test.php
+++ b/tests/controller/controller_test.php
@@ -43,6 +43,8 @@ class phpbb_controller_controller_test extends phpbb_test_case
$this->assertInstanceOf('Symfony\Component\Routing\Route', $routes->get('controller2'));
$this->assertEquals('/foo/bar', $routes->get('controller2')->getPath());
+
+ $this->assertNull($routes->get('controller_noroute'));
}
public function test_controller_resolver()