From: tjhunt Date: Wed, 6 May 2009 09:13:40 +0000 (+0000) Subject: moodle_page: MDL-12212 clarify some comments X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=c33db6e690664e1b9226e58b335bf65107823ce1;p=moodle.git moodle_page: MDL-12212 clarify some comments --- diff --git a/lib/simpletest/testpagelib_moodlepage.php b/lib/simpletest/testpagelib_moodlepage.php index b06cdbbd6e..86d96776f3 100644 --- a/lib/simpletest/testpagelib_moodlepage.php +++ b/lib/simpletest/testpagelib_moodlepage.php @@ -35,7 +35,9 @@ if (!defined('MOODLE_INTERNAL')) { } require_once($CFG->libdir . '/pagelib.php'); +require_once($CFG->libdir . '/blocklib.php'); +/** Test-specific subclass to make some protected things public. */ class testable_moodle_page extends moodle_page { public function initialise_default_pagetype($script = null) { parent::initialise_default_pagetype($script); @@ -49,7 +51,7 @@ class testable_moodle_page extends moodle_page { } /** - * Test functions that affect filter_active table with contextid = $syscontextid. + * Test functions that don't need to touch the database. */ class moodle_page_test extends UnitTestCase { protected $testpage;