mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
MDL-48374 behat: Added missing $session
This commit is contained in:
parent
eb9419c8e2
commit
a610c9abac
@ -1298,6 +1298,8 @@ class behat_general extends behat_base {
|
||||
* @Given /^a new page should not have loaded since I started watching$/
|
||||
*/
|
||||
public function a_new_page_should_not_have_loaded_since_i_started_watching() {
|
||||
$session = $this->getSession();
|
||||
|
||||
// Make sure page load tracking was started.
|
||||
if (!$this->pageloaddetectionrunning) {
|
||||
throw new ExpectationException(
|
||||
|
Loading…
x
Reference in New Issue
Block a user