mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
MDL-42408 behat: Setting the site summary
This commit is contained in:
parent
4e47920f08
commit
a0e89a8fe3
@ -24,6 +24,6 @@
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$plugin->version = 2013050100;
|
||||
$plugin->version = 2013101700;
|
||||
$plugin->requires = 2013050100; // Requires Moodle 2.5.
|
||||
$plugin->component = 'tool_behat';
|
||||
|
@ -80,6 +80,9 @@ class behat_util extends testing_util {
|
||||
|
||||
install_cli_database($options, false);
|
||||
|
||||
$frontpagesummary = new admin_setting_special_frontpagedesc();
|
||||
$frontpagesummary->write_setting(self::BEHATSITENAME);
|
||||
|
||||
// Update admin user info.
|
||||
$user = $DB->get_record('user', array('username' => 'admin'));
|
||||
$user->email = 'moodle@moodlemoodle.com';
|
||||
|
Loading…
x
Reference in New Issue
Block a user