MDL-48559 behat: Moving cronclionly to the installer

This commit is contained in:
Ankit Agarwal
2015-02-17 14:33:56 +08:00
committed by David Monllao
parent c8171c1d72
commit bbcd308340
2 changed files with 3 additions and 3 deletions
+3
View File
@@ -111,6 +111,9 @@ class behat_util extends testing_util {
// Disable some settings that are not wanted on test sites.
set_config('noemailever', 1);
// Enable web cron.
set_config('cronclionly', 0);
// Keeps the current version of database and dataroot.
self::store_versions_hash();
-3
View File
@@ -205,9 +205,6 @@ class behat_hooks extends behat_base {
$user = $DB->get_record('user', array('username' => 'admin'));
\core\session\manager::set_user($user);
// Enable web cron.
set_config('cronclionly', 0);
// Reset the browser if specified in config.php.
if (!empty($CFG->behat_restart_browser_after) && $this->running_javascript()) {
$now = time();