1
0
mirror of https://github.com/moodle/moodle.git synced 2025-05-08 01:05:48 +02:00

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

This commit is contained in:
Eloy Lafuente (stronk7) 2011-10-06 01:19:43 +02:00
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;