-
Bug
-
Resolution: Fixed
-
Minor
-
3.9.19, 3.11.12, 4.0.6, 4.1.1
We have a couple of behat steps which are fetching course ids using a $DB->get_records() call, which only checks the full name.
We should use $this->get_course_id() which allows us to fetch by name, short name, or idnumber.
Examples:
* @Given /^I am on "(?P<coursefullname_string>(?:[^"]|\\")*)" course homepage$/
|
* @Given I am on :coursefullname course homepage with editing mode :onoroff
|