mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-09 10:16:36 +02:00
[ticket/12620] Fix rebase
PHPBB3-12620
This commit is contained in:
@@ -40,8 +40,8 @@ class phpbb_controller_controller_test extends phpbb_test_case
|
||||
|
||||
public function test_router_find_files()
|
||||
{
|
||||
$router = new \phpbb\routing\router($this->extension_manager, dirname(__FILE__) . '/', 'php');
|
||||
$router->find_routing_files($this->extension_manager->get_finder());
|
||||
$router = new \phpbb\routing\router($this->extension_manager, dirname(__FILE__) . '/', 'php', PHPBB_ENVIRONMENT);
|
||||
$router->find_routing_files($this->extension_manager->all_enabled());
|
||||
$routes = $router->find(__DIR__)->get_routes();
|
||||
|
||||
// This will need to be updated if any new routes are defined
|
||||
|
Reference in New Issue
Block a user