diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2014-05-09 09:24:30 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2014-06-10 11:47:41 +0200 |
commit | 6980fbd27bd57dc01d7265cc742ab01a4bd9f93a (patch) | |
tree | b41a678373e62518ec34b139860031bf6dc5a4d4 /tests/controller | |
parent | [ticket/12508] Fix class doc block (diff) | |
download | phpbb-6980fbd27bd57dc01d7265cc742ab01a4bd9f93a.tar.gz phpbb-6980fbd27bd57dc01d7265cc742ab01a4bd9f93a.tar.bz2 phpbb-6980fbd27bd57dc01d7265cc742ab01a4bd9f93a.zip |
[ticket/12508] Only take a list of names for set_extensions()
PHPBB3-12508
Diffstat (limited to 'tests/controller')
-rw-r--r-- | tests/controller/helper_route_test.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/controller/helper_route_test.php b/tests/controller/helper_route_test.php index f604f5d892..621efaa830 100644 --- a/tests/controller/helper_route_test.php +++ b/tests/controller/helper_route_test.php @@ -47,7 +47,7 @@ class phpbb_controller_helper_route_test extends phpbb_test_case dirname(__FILE__) . '/', new phpbb_mock_cache() ); - $finder->set_extensions($this->extension_manager->all_enabled()); + $finder->set_extensions(array_keys($this->extension_manager->all_enabled())); $this->provider = new \phpbb\controller\provider(); $this->provider->find_routing_files($finder); $this->provider->find(dirname(__FILE__) . '/'); |