mirror of
https://github.com/phpbb/phpbb.git
synced 2025-03-13 20:28:44 +01:00
[ticket/11948] Add second routing file to tests
PHPBB3-11948
This commit is contained in:
parent
667ccbcffb
commit
3cc2e619d2
@ -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…
x
Reference in New Issue
Block a user