MDL-48196 phpunit: Set e-mail address for admin user at installation
This commit is contained in:
@@ -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');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user