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, 4 insertions, 2 deletions
diff --git a/tests/functional/extension_controller_test.php b/tests/functional/extension_controller_test.php
index 430d93f9bf..7e50eb7d91 100644
--- a/tests/functional/extension_controller_test.php
+++ b/tests/functional/extension_controller_test.php
@@ -14,7 +14,8 @@ class phpbb_functional_extension_controller_test extends phpbb_functional_test_c
{
public function setUp()
{
- global $phpbb_extension_manager;
+ parent::setUp();
+ $phpbb_extension_manager = $this->get_ext_manager();
$phpbb_extension_manager->enable('foobar');
$phpbb_extension_manager->enable('foo_bar');
@@ -24,7 +25,8 @@ class phpbb_functional_extension_controller_test extends phpbb_functional_test_c
public function tearDown()
{
- global $phpbb_extension_manager;
+ parent::tearDown();
+ $phpbb_extension_manager = $this->get_ext_manager();
$phpbb_extension_manager->purge('foobar');
$phpbb_extension_manager->purge('foo_bar');