From 71b1aefcf661d0aad7d9325f4f6c12d2f40e58aa Mon Sep 17 00:00:00 2001 From: "Eloy Lafuente (stronk7)" Date: Wed, 3 Dec 2014 03:02:00 +0100 Subject: [PATCH] MDL-48374 behat: Added missing $session --- lib/tests/behat/behat_general.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/tests/behat/behat_general.php b/lib/tests/behat/behat_general.php index 6c52a44c4b2..1844f109e67 100644 --- a/lib/tests/behat/behat_general.php +++ b/lib/tests/behat/behat_general.php @@ -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( -- 2.11.4.GIT