1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-14 04:30:29 +01:00

[ticket/11948] Add second routing file to tests

PHPBB3-11948
This commit is contained in:
Joas Schilling 2013-10-19 12:11:09 +02:00
parent 667ccbcffb
commit 3cc2e619d2
2 changed files with 4 additions and 1 deletions

View File

@ -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()

View File

@ -0,0 +1,3 @@
controller2:
pattern: /bar
defaults: { _controller: foo.controller:handle }