diff options
author | Nils Adermann <naderman@naderman.de> | 2012-03-18 22:57:37 +0100 |
---|---|---|
committer | David King <imkingdavid@gmail.com> | 2012-03-19 09:12:34 -0400 |
commit | 1bbb32a5cffeff4875c4ed0566999cbee8919c86 (patch) | |
tree | 47610eac44e19e2439688e98812bf2190738c60d /tests/functional/extension_controller_test.php | |
parent | 76e61951942048e3e98dbe60a3683d5269a4fa0e (diff) | |
download | forums-1bbb32a5cffeff4875c4ed0566999cbee8919c86.tar forums-1bbb32a5cffeff4875c4ed0566999cbee8919c86.tar.gz forums-1bbb32a5cffeff4875c4ed0566999cbee8919c86.tar.bz2 forums-1bbb32a5cffeff4875c4ed0566999cbee8919c86.tar.xz forums-1bbb32a5cffeff4875c4ed0566999cbee8919c86.zip |
[ticket/10586] Correctly purge board cache and don't rename install directory
PHPBB3-10586
Diffstat (limited to 'tests/functional/extension_controller_test.php')
-rw-r--r-- | tests/functional/extension_controller_test.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/functional/extension_controller_test.php b/tests/functional/extension_controller_test.php index 4123853151..dd8aa1181b 100644 --- a/tests/functional/extension_controller_test.php +++ b/tests/functional/extension_controller_test.php @@ -69,8 +69,6 @@ class phpbb_functional_extension_controller_test extends phpbb_functional_test_c public static function tearDownAfterClass() { $f_path = self::$config['phpbb_functional_path']; - // first we rename the install_ directory back to install - rename($f_path . 'install_/', $f_path . 'install/'); // @todo delete the fixtures from the $f_path board // Note that it might be best to find a public domain function @@ -80,8 +78,10 @@ class phpbb_functional_extension_controller_test extends phpbb_functional_test_c public function setUp() { parent::setUp(); - $this->phpbb_extension_manager = !($this->phpbb_extension_manager instanceof phpbb_extension_manager) ? $this->get_ext_manager() : $this->phpbb_extension_manager; - $this->cache->purge('_ext'); + + $this->phpbb_extension_manager = $this->get_extension_manager(); + + $this->purge_cache(); } /** |