- Patch #252365 by boombatower: clean up the temporary directory that gets creating during the test runs.

merge-requests/26/head
Dries Buytaert 2008-04-30 06:45:43 +00:00
parent f6bfbec8a2
commit 917b27d688
1 changed files with 1 additions and 1 deletions

View File

@ -385,7 +385,7 @@ class DrupalWebTestCase extends UnitTestCase {
global $db_prefix; global $db_prefix;
if (preg_match('/simpletest\d+/', $db_prefix)) { if (preg_match('/simpletest\d+/', $db_prefix)) {
// Delete temporary files directory and reset files directory path. // Delete temporary files directory and reset files directory path.
// simpletest_clean_temporary_directory(file_directory_path()); simpletest_clean_temporary_directory(file_directory_path());
variable_set('file_directory_path', $this->original_file_directory); variable_set('file_directory_path', $this->original_file_directory);
$schema = drupal_get_schema(NULL, TRUE); $schema = drupal_get_schema(NULL, TRUE);