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).
This commit is contained in:
Tim Hunt
2009-11-24 21:45:28 +00:00
parent 51e0609e4a
commit 288a3b29a6
+2 -2
View File
@@ -22,13 +22,13 @@ require_once($CFG->libdir . '/simpletestlib/test_case.php');
* them into a group test.
* @package SimpleTestEx
*/
class AutoGroupTest extends GroupTest {
class AutoGroupTest extends TestSuite {
var $thorough;
var $showsearch;
function AutoGroupTest($showsearch, $thorough, $test_name = null) {
$this->GroupTest($test_name);
$this->TestSuite($test_name);
$this->showsearch = $showsearch;
$this->thorough = $thorough;
}