From a470b6c519065b932b2e41e021df52cde7eaa848 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 2 May 2014 22:48:28 +0200 Subject: [ticket/12480] Add subfolder/config/routing.yml which should not be found PHPBB3-12480 --- tests/controller/controller_test.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/controller/controller_test.php') 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() -- cgit v1.2.1