From 6980fbd27bd57dc01d7265cc742ab01a4bd9f93a Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 9 May 2014 09:24:30 +0200 Subject: [ticket/12508] Only take a list of names for set_extensions() PHPBB3-12508 --- tests/controller/helper_route_test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/controller') 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__) . '/'); -- cgit v1.2.3-65-gdbad