mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-25 19:11:47 +02:00
[ticket/12480] Add subfolder/config/routing.yml which should not be found
PHPBB3-12480
This commit is contained in:
tests/controller
@@ -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()
|
||||
|
@@ -0,0 +1,3 @@
|
||||
controller_noroute:
|
||||
pattern: /donotfindthis
|
||||
defaults: { _controller: foo.controller:handle }
|
Reference in New Issue
Block a user