aboutsummaryrefslogtreecommitdiffstats
path: root/tests/controller/controller_test.php
diff options
context:
space:
mode:
authorMateBartus <mate.bartus@gmail.com>2015-04-30 22:40:17 +0200
committerMateBartus <mate.bartus@gmail.com>2015-05-02 23:45:45 +0200
commit74dbaac0394f45955553ff46515404fe5b06bfba (patch)
treec39a492b728395e7b25409a96f25f9a109ea0ef9 /tests/controller/controller_test.php
parent85967425795773b7cb4116bb05adef810fb8bc07 (diff)
downloadforums-74dbaac0394f45955553ff46515404fe5b06bfba.tar
forums-74dbaac0394f45955553ff46515404fe5b06bfba.tar.gz
forums-74dbaac0394f45955553ff46515404fe5b06bfba.tar.bz2
forums-74dbaac0394f45955553ff46515404fe5b06bfba.tar.xz
forums-74dbaac0394f45955553ff46515404fe5b06bfba.zip
[ticket/13800] Make router's extension manager dependency optional
PHPBB3-13800
Diffstat (limited to 'tests/controller/controller_test.php')
-rw-r--r--tests/controller/controller_test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/controller/controller_test.php b/tests/controller/controller_test.php
index 5c0290ee6f..5781d3ebc1 100644
--- a/tests/controller/controller_test.php
+++ b/tests/controller/controller_test.php
@@ -40,7 +40,7 @@ class phpbb_controller_controller_test extends phpbb_test_case
public function test_router_find_files()
{
- $router = new \phpbb\routing\router(new \phpbb\filesystem\filesystem(), $this->extension_manager, dirname(__FILE__) . '/', 'php', PHPBB_ENVIRONMENT);
+ $router = new \phpbb\routing\router(new \phpbb\filesystem\filesystem(), dirname(__FILE__) . '/', 'php', PHPBB_ENVIRONMENT, $this->extension_manager);
$router->find_routing_files($this->extension_manager->all_enabled(false));
$routes = $router->find(__DIR__)->get_routes();