mirror of
https://github.com/moodle/moodle.git
synced 2025-04-27 03:14:20 +02:00
MDL-29677 unit tests - missing global was causing tons of incorrect debugging info
This commit is contained in:
parent
9086337415
commit
a7f99cf02e
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user