aboutsummaryrefslogtreecommitdiffstats
path: root/tests/controller/helper_route_test.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-05-06 17:50:46 +0200
committerJoas Schilling <nickvergessen@gmx.de>2014-06-10 11:47:39 +0200
commitd45c681b40cf0415ce49b2cd7f3f1083e84b367c (patch)
treece42a1665c9ffa1c519964ad0df9bf6d502c1afa /tests/controller/helper_route_test.php
parentc20653dfbe552b53fa3281ff8f2a9214fc8a26a9 (diff)
downloadforums-d45c681b40cf0415ce49b2cd7f3f1083e84b367c.tar
forums-d45c681b40cf0415ce49b2cd7f3f1083e84b367c.tar.gz
forums-d45c681b40cf0415ce49b2cd7f3f1083e84b367c.tar.bz2
forums-d45c681b40cf0415ce49b2cd7f3f1083e84b367c.tar.xz
forums-d45c681b40cf0415ce49b2cd7f3f1083e84b367c.zip
[ticket/12508] Fix usages of the finder
PHPBB3-12508
Diffstat (limited to 'tests/controller/helper_route_test.php')
-rw-r--r--tests/controller/helper_route_test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/controller/helper_route_test.php b/tests/controller/helper_route_test.php
index df0794a047..3756082be6 100644
--- a/tests/controller/helper_route_test.php
+++ b/tests/controller/helper_route_test.php
@@ -43,11 +43,11 @@ class phpbb_controller_helper_route_test extends phpbb_test_case
);
$finder = new \phpbb\extension\finder(
- $this->extension_manager,
new \phpbb\filesystem(),
dirname(__FILE__) . '/',
new phpbb_mock_cache()
);
+ $finder->set_extensions($this->extension_manager->all_enabled());
$this->provider = new \phpbb\controller\provider();
$this->provider->find_routing_files($finder);
$this->provider->find(dirname(__FILE__) . '/');