MDL-42408 behat: Setting the site summary

This commit is contained in:
David Monllao
2013-10-21 11:10:41 +08:00
parent 1115bb3780
commit 472b456325
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -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';
+3
View File
@@ -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 = '[email protected]';