MDL-48196 phpunit: Set e-mail address for admin user at installation

This commit is contained in:
Andrew Nicols
2014-11-13 08:58:27 +08:00
parent ecb90615b8
commit fbe9cfab3c
+3
View File
@@ -408,6 +408,9 @@ class phpunit_util extends testing_util {
install_cli_database($options, false);
// Set the admin email address.
$DB->set_field('user', 'email', '[email protected]', array('username' => 'admin'));
// Disable all logging for performance and sanity reasons.
set_config('enabled_stores', '', 'tool_log');