Commit 1f49ad9b authored by Jinelle Foley-Barnes's avatar Jinelle Foley-Barnes Committed by Robert Lyon

Behat step: And I trigger the cron

I added the Moodle step for triggering the cron to Mahara.
I changed the file path so that it followed admin/lib/cron.php
instead of admin/cron.php like moodle does.

Change-Id: I094101ffb151532b4a2a457a888d1242e667b079
parent 73980105
......@@ -779,12 +779,12 @@ class BehatGeneral extends BehatBase {
}
/**
* This step triggers cron like a user would do going to admin/cron.php.
* This step triggers cron like a user would do going to lib/cron.php.
*
* @Given /^I trigger cron$/
*/
public function i_trigger_cron() {
$this->getSession()->visit($this->locate_path('/admin/cron.php'));
$this->getSession()->visit($this->locate_path('/lib/cron.php'));
}
/**
......
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