Issue #46 - Merged new, edit and clone into a single page. Moodle code checker was complaining about duplicated code and it was right!

This commit is contained in:
Daniel Thee Roperto
2016-09-26 22:14:03 +10:00
committed by Daniel Thee Roperto
parent 8791727ba4
commit 6a78557487
9 changed files with 44 additions and 135 deletions

View File

@@ -67,7 +67,7 @@ class behat_auth_outage extends behat_base {
* @Given /^I visit the Create Outage Page$/
*/
public function i_visit_the_create_outage_page() {
$this->getSession()->visit($this->locate_path('/auth/outage/new.php'));
$this->getSession()->visit($this->locate_path('/auth/outage/edit.php'));
}
/**