aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functional
diff options
context:
space:
mode:
authorDavid King <imkingdavid@gmail.com>2012-02-21 09:38:53 -0500
committerDavid King <imkingdavid@gmail.com>2012-03-19 09:12:32 -0400
commit9212466626a3d80a90cab1f23cf423a1c4e20655 (patch)
tree08d79e23ba3822b292a07e7689e4ce287728ba37 /tests/functional
parent401de113f9a0cec57c9648a079303d30fdb23666 (diff)
downloadforums-9212466626a3d80a90cab1f23cf423a1c4e20655.tar
forums-9212466626a3d80a90cab1f23cf423a1c4e20655.tar.gz
forums-9212466626a3d80a90cab1f23cf423a1c4e20655.tar.bz2
forums-9212466626a3d80a90cab1f23cf423a1c4e20655.tar.xz
forums-9212466626a3d80a90cab1f23cf423a1c4e20655.zip
[ticket/10586] some bootstrap additions and test changes to try and make it work
PHPBB3-10586
Diffstat (limited to 'tests/functional')
-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');