MDL-19471 fixed PHP 5.3 compatibility

This commit is contained in:
skodak
2009-06-11 19:20:03 +00:00
parent 0735b50962
commit 80cfaf2bfe
+6 -1
View File
@@ -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