MDL-43266 Testing sites are cleaning all test dataroot contents
This commit is contained in:
Regular → Executable
+4
@@ -380,6 +380,10 @@ class phpunit_util extends testing_util {
|
||||
|
||||
install_cli_database($options, false);
|
||||
|
||||
// We need to keep the installed dataroot filedir files.
|
||||
// So each time we reset the dataroot before running a test, the default files are still installed.
|
||||
self::save_original_data_files();
|
||||
|
||||
// install timezone info
|
||||
$timezones = get_records_csv($CFG->libdir.'/timezone.txt', 'timezone');
|
||||
update_timezone_records($timezones);
|
||||
|
||||
Reference in New Issue
Block a user