- Patch #252365 by boombatower: clean up the temporary directory that gets creating during the test runs.
parent
f6bfbec8a2
commit
917b27d688
|
@ -385,7 +385,7 @@ class DrupalWebTestCase extends UnitTestCase {
|
|||
global $db_prefix;
|
||||
if (preg_match('/simpletest\d+/', $db_prefix)) {
|
||||
// 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);
|
||||
|
||||
$schema = drupal_get_schema(NULL, TRUE);
|
||||
|
|
Loading…
Reference in New Issue