mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-07 01:06:48 +02:00
[ticket/11948] Allow resource importing for routing
PHPBB3-11948
This commit is contained in:
@@ -34,7 +34,7 @@ class phpbb_controller_controller_test extends phpbb_test_case
|
||||
$provider = new \phpbb\controller\provider;
|
||||
$routes = $provider
|
||||
->import_paths_from_finder($this->extension_manager->get_finder())
|
||||
->find('./tests/controller/');
|
||||
->find(__DIR__);
|
||||
|
||||
// This will need to be updated if any new routes are defined
|
||||
$this->assertEquals(3, sizeof($routes));
|
||||
|
Reference in New Issue
Block a user