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