aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functional
diff options
context:
space:
mode:
authorDavid King <imkingdavid@gmail.com>2012-03-16 17:18:08 -0400
committerDavid King <imkingdavid@gmail.com>2012-03-19 09:12:33 -0400
commite78585c973d260651dd8487d586facd2ab9e1e51 (patch)
treec315d7ab76062dc7394411df7411038baeaef398 /tests/functional
parent66b45318efea886ac6afc1f332cc94ee2af1c494 (diff)
downloadforums-e78585c973d260651dd8487d586facd2ab9e1e51.tar
forums-e78585c973d260651dd8487d586facd2ab9e1e51.tar.gz
forums-e78585c973d260651dd8487d586facd2ab9e1e51.tar.bz2
forums-e78585c973d260651dd8487d586facd2ab9e1e51.tar.xz
forums-e78585c973d260651dd8487d586facd2ab9e1e51.zip
[ticket/10586] Rename install directory back to install/ after tests
PHPBB3-10586
Diffstat (limited to 'tests/functional')
-rw-r--r--tests/functional/extension_controller_test.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/functional/extension_controller_test.php b/tests/functional/extension_controller_test.php
index 50710d0347..f137a49bf4 100644
--- a/tests/functional/extension_controller_test.php
+++ b/tests/functional/extension_controller_test.php
@@ -65,6 +65,17 @@ 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
+ // and port it into here instead of writing it from scratch
+ }
+
public function setUp()
{
parent::setUp();