Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb9419c
)
MDL-48374 behat: Added missing $session
author
Eloy Lafuente (stronk7)
<stronk7@moodle.org>
Wed, 3 Dec 2014 02:02:00 +0000
(
03:02
+0100)
committer
Dan Poltawski
<dan@moodle.com>
Thu, 4 Dec 2014 12:14:30 +0000
(12:14 +0000)
lib/tests/behat/behat_general.php
patch
|
blob
|
blame
|
history
diff --git
a/lib/tests/behat/behat_general.php
b/lib/tests/behat/behat_general.php
index
6c52a44
..
1844f10
100644
(file)
--- 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(