Commit a7f99cf0 authored by Eloy Lafuente's avatar Eloy Lafuente
Browse files

MDL-29677 unit tests - missing global was causing tons of incorrect debugging info

parent 90863374
......@@ -67,7 +67,7 @@ class moodle_page_test extends UnitTestCase {
}
public function tearDown() {
global $COURSE;
global $COURSE, $PAGE;
$this->testpage = NULL;
$COURSE = $this->originalcourse;
$PAGE = $this->originalpage;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment