Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-29677 unit tests - missing global was causing tons of incorrect d…

…ebugging info
  • Loading branch information...
commit 2c600c42fa8024212443aef4b4efb4a6032b542e 1 parent 9e4b400
@stronk7 stronk7 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/simpletest/testpagelib_moodlepage.php
View
2  lib/simpletest/testpagelib_moodlepage.php
@@ -67,7 +67,7 @@ public function setUp() {
}
public function tearDown() {
- global $COURSE;
+ global $COURSE, $PAGE;
$this->testpage = NULL;
$COURSE = $this->originalcourse;
$PAGE = $this->originalpage;
Please sign in to comment.
Something went wrong with that request. Please try again.