Permalink
Browse files

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

…ebugging info
  • Loading branch information...
1 parent 9e4b400 commit 2c600c42fa8024212443aef4b4efb4a6032b542e @stronk7 stronk7 committed Oct 5, 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 2c600c4

Please sign in to comment.