aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functional/extension_controller_test.php
diff options
context:
space:
mode:
authorDavid King <imkingdavid@gmail.com>2012-02-21 10:53:22 -0500
committerDavid King <imkingdavid@gmail.com>2012-03-19 09:12:33 -0400
commita37a28b48546afc880446db7e4b2fd87c70a6cda (patch)
tree04c7a0608516c5c783e9f2beb5825dd2791c1645 /tests/functional/extension_controller_test.php
parent9212466626a3d80a90cab1f23cf423a1c4e20655 (diff)
downloadforums-a37a28b48546afc880446db7e4b2fd87c70a6cda.tar
forums-a37a28b48546afc880446db7e4b2fd87c70a6cda.tar.gz
forums-a37a28b48546afc880446db7e4b2fd87c70a6cda.tar.bz2
forums-a37a28b48546afc880446db7e4b2fd87c70a6cda.tar.xz
forums-a37a28b48546afc880446db7e4b2fd87c70a6cda.zip
[ticket/10586] Now tests run, but fail. But here is what I have.
PHPBB3-10586
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');