diff options
author | David King <imkingdavid@gmail.com> | 2012-02-21 09:38:53 -0500 |
---|---|---|
committer | David King <imkingdavid@gmail.com> | 2012-03-19 09:12:32 -0400 |
commit | 9212466626a3d80a90cab1f23cf423a1c4e20655 (patch) | |
tree | 08d79e23ba3822b292a07e7689e4ce287728ba37 /tests/functional | |
parent | 401de113f9a0cec57c9648a079303d30fdb23666 (diff) | |
download | forums-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.php | 6 |
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'); |