Merge branch 'MDL-43266_master-last-fixes' of git://github.com/dmonllao/moodle
Conflicts: lib/phpunit/classes/util.php
This commit is contained in:
Regular → Executable
+4
@@ -387,6 +387,10 @@ class phpunit_util extends testing_util {
|
||||
// Disable all logging for performance and sanity reasons.
|
||||
set_config('enabled_stores', '', 'tool_log');
|
||||
|
||||
// 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