diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2013-04-12 01:40:45 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2013-04-12 01:40:45 +0200 |
commit | 0b64db275bae14649e09031483b03ccc1943310b (patch) | |
tree | 2d1fa5ab19ce8173d918fec50b7d6b984683af9c /tests/functional/extension_acp_test.php | |
parent | 56bcf7497e6b866d67d8c7e2f8b679d2190639a7 (diff) | |
download | forums-0b64db275bae14649e09031483b03ccc1943310b.tar forums-0b64db275bae14649e09031483b03ccc1943310b.tar.gz forums-0b64db275bae14649e09031483b03ccc1943310b.tar.bz2 forums-0b64db275bae14649e09031483b03ccc1943310b.tar.xz forums-0b64db275bae14649e09031483b03ccc1943310b.zip |
[ticket/11491] Correctly remove the store/temp_ext/ directory after use
PHPBB3-11491
Diffstat (limited to 'tests/functional/extension_acp_test.php')
-rw-r--r-- | tests/functional/extension_acp_test.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/functional/extension_acp_test.php b/tests/functional/extension_acp_test.php index 4dab5ecf82..e829e4582e 100644 --- a/tests/functional/extension_acp_test.php +++ b/tests/functional/extension_acp_test.php @@ -90,10 +90,10 @@ class phpbb_functional_extension_acp_test extends phpbb_functional_test_case // Copy back the board installed extensions from the temp directory self::$helper->copy_dir($phpbb_root_path . 'store/temp_ext/', $phpbb_root_path . 'ext/'); - self::$copied_files[] = $phpbb_root_path . 'store/temp_ext/'; - // Remove all of the files we copied around (from board ext -> temp_ext, from test ext -> board ext) self::$helper->remove_files(self::$copied_files); + + self::$helper->empty_dir($phpbb_root_path . 'store/temp_ext/'); } public function test_list() |