From: Tim Hunt Date: Tue, 24 Nov 2009 21:44:59 +0000 (+0000) Subject: Unit tests: Change the parent class to avoid a deprecated class. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=9aa653f1246f78370d48ff7418967b841a79beac;p=moodle.git Unit tests: Change the parent class to avoid a deprecated class. This is necessary to make it work in PHP 5.3 (as well as PHP 4). --- diff --git a/admin/report/unittest/ex_simple_test.php b/admin/report/unittest/ex_simple_test.php index 8dd2825cdd..5f979b0a2a 100644 --- a/admin/report/unittest/ex_simple_test.php +++ b/admin/report/unittest/ex_simple_test.php @@ -21,12 +21,12 @@ require_once($CFG->libdir . '/simpletestlib/test_case.php'); * them into a group test. * @package SimpleTestEx */ -class AutoGroupTest extends GroupTest { +class AutoGroupTest extends TestSuite { var $showsearch; function AutoGroupTest($showsearch, $test_name = null) { - $this->GroupTest($test_name); + $this->TestSuite($test_name); $this->showsearch = $showsearch; }