mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/12480] Add subfolder/config/routing.yml which should not be found
PHPBB3-12480
This commit is contained in:
parent
10b23612e3
commit
a470b6c519
2 changed files with 5 additions and 0 deletions
|
@ -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 }
|
Loading…
Add table
Reference in a new issue