MDL-42408 behat: Setting the site summary

This commit is contained in:
David Monllao 2013-10-17 14:20:11 +08:00 committed by Rajesh Taneja
parent b92adf24a4
commit 4338c6fc53
2 changed files with 4 additions and 1 deletions

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';

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 = 'moodle@moodlemoodle.com';