1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-24 12:03:21 +01:00

[ticket/10586] Rename install directory back to install/ after tests

PHPBB3-10586
This commit is contained in:
David King 2012-03-16 17:18:08 -04:00
parent 66b45318ef
commit e78585c973

View File

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