1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-10 18:54:08 +02:00

[ticket/12620] Add support of the environments for the ext routing files

PHPBB3-12620
This commit is contained in:
Tristan Darricau
2014-09-05 16:33:57 +02:00
parent 7cd0fd83b8
commit 014eed385b
7 changed files with 40 additions and 8 deletions

View File

@@ -113,12 +113,6 @@ abstract class phpbb_controller_common_helper_route extends phpbb_test_case
)
);
$finder = new \phpbb\finder(
new \phpbb\filesystem(),
dirname(__FILE__) . '/',
new phpbb_mock_cache()
);
$finder->set_extensions(array_keys($this->extension_manager->all_enabled()));
$this->router = new phpbb_mock_router($this->extension_manager, dirname(__FILE__) . '/', 'php');
$this->router->find_routing_files($finder);
$this->router->find(dirname(__FILE__) . '/');