Browse files

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

…ebugging info
  • Loading branch information...
1 parent ecbd871 commit ec51da7d4b63668588f442eafeb541b96a40b415 @stronk7 stronk7 committed Oct 6, 2011
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;

0 comments on commit ec51da7

Please sign in to comment.