mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 20:42:22 +02:00
MDL-48196 phpunit: Set e-mail address for admin user at installation
This commit is contained in:
parent
683d7de4d1
commit
14ecbb2ee8
@ -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', 'admin@example.com', array('username' => 'admin'));
|
||||
|
||||
// Disable all logging for performance and sanity reasons.
|
||||
set_config('enabled_stores', '', 'tool_log');
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user