1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/10586] some bootstrap additions and test changes to try and make it work

PHPBB3-10586
This commit is contained in:
David King
2012-02-21 09:38:53 -05:00
parent 401de113f9
commit 9212466626
2 changed files with 38 additions and 4 deletions

View File

@@ -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');