aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functional/extension_controller_test.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/extension_controller_test.php')
-rw-r--r--tests/functional/extension_controller_test.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/functional/extension_controller_test.php b/tests/functional/extension_controller_test.php
index 7f0bccc485..430d93f9bf 100644
--- a/tests/functional/extension_controller_test.php
+++ b/tests/functional/extension_controller_test.php
@@ -14,8 +14,7 @@ class phpbb_functional_extension_controller_test extends phpbb_functional_test_c
{
public function setUp()
{
- global $db, $cache;
- $phpbb_extension_manager = new phpbb_extension_manager($db, 'phpbb_ext', '.php', $cache, '_cache');
+ global $phpbb_extension_manager;
$phpbb_extension_manager->enable('foobar');
$phpbb_extension_manager->enable('foo_bar');
@@ -25,8 +24,7 @@ class phpbb_functional_extension_controller_test extends phpbb_functional_test_c
public function tearDown()
{
- global $db, $cache;
- $phpbb_extension_manager = new phpbb_extension_manager($db, 'phpbb_ext', '.php', $cache, '_cache');
+ global $phpbb_extension_manager;
$phpbb_extension_manager->purge('foobar');
$phpbb_extension_manager->purge('foo_bar');