Merge branch 'MDL-66335_36' of https://github.com/stronk7/moodle into MOODLE_36_STABLE

This commit is contained in:
Andrew Nicols
2019-10-15 07:31:42 +08:00
-1
View File
@@ -646,7 +646,6 @@ class behat_navigation extends behat_base {
* @throws Exception if the specified page cannot be determined.
*/
public function i_am_on_page_instance(string $identifier, string $type) {
list($component, $type) = $this->parse_page_name($type);
$this->getSession()->visit($this->locate_path(
$this->resolve_page_instance_helper($identifier, $type)->out_as_local_url()));
}