Commit 1bf564a8 authored by Aaron Wells's avatar Aaron Wells

Bug 1583433: Make Behat cron use your urlsecret

Change-Id: I902082b65e669dcb07a306f39782d478fb4300c5
behatnotneeded: Covered by existing tests
parent b3ea79ae
......@@ -855,7 +855,7 @@ class BehatGeneral extends BehatBase {
foreach(plugin_types() as $plugintype) {
set_field($plugintype . '_cron', 'nextrun', null);
}
$this->getSession()->visit($this->locate_path('/lib/cron.php?urlsecret=mysupersecret'));
$this->getSession()->visit($this->locate_path('/lib/cron.php?urlsecret=' . urlencode(get_config('urlsecret'))));
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment