diff --git a/lib/simpletestlib/test_case.php b/lib/simpletestlib/test_case.php index 8f4e1bd9422..fce7d814c6c 100644 --- a/lib/simpletestlib/test_case.php +++ b/lib/simpletestlib/test_case.php @@ -659,7 +659,12 @@ class TestSuite { * @subpackage UnitTester * @deprecated */ -class GroupTest extends TestSuite { } +class GroupTest extends TestSuite { + // moodle fix: adding old style constructor to make it compatible with PHP 5.3 + function GroupTest($label = false) { + parent::TestSuite($label); + } +} /** * This is a failing group test for when a test suite hasn't