Commit 80e568f5 authored by Aaron Wells's avatar Aaron Wells Committed by Robert Lyon

Bug 1583433: Make Behat cron use your urlsecret

Change-Id: I902082b65e669dcb07a306f39782d478fb4300c5
behatnotneeded: Covered by existing tests
parent cdadecbb
...@@ -855,7 +855,7 @@ class BehatGeneral extends BehatBase { ...@@ -855,7 +855,7 @@ class BehatGeneral extends BehatBase {
foreach(plugin_types() as $plugintype) { foreach(plugin_types() as $plugintype) {
set_field($plugintype . '_cron', 'nextrun', null); 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