mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/11948] Add second routing file to tests
PHPBB3-11948
This commit is contained in:
parent
667ccbcffb
commit
3cc2e619d2
2 changed files with 4 additions and 1 deletions
|
@ -37,7 +37,7 @@ class phpbb_controller_controller_test extends phpbb_test_case
|
|||
->find('./tests/controller/');
|
||||
|
||||
// This will need to be updated if any new routes are defined
|
||||
$this->assertEquals(2, sizeof($routes));
|
||||
$this->assertEquals(3, sizeof($routes));
|
||||
}
|
||||
|
||||
public function test_controller_resolver()
|
||||
|
|
3
tests/controller/ext/foo/config/routing_2.yml
Normal file
3
tests/controller/ext/foo/config/routing_2.yml
Normal file
|
@ -0,0 +1,3 @@
|
|||
controller2:
|
||||
pattern: /bar
|
||||
defaults: { _controller: foo.controller:handle }
|
Loading…
Add table
Reference in a new issue