Fixes bug MDL-9175 "Groups simpletest, fatal errors".

This commit is contained in:
nfreear
2007-04-03 10:15:23 +00:00
parent 4d5dd30513
commit a2e32e1603
+1 -3
View File
@@ -27,8 +27,6 @@ class basicgrouplib_test extends UnitTestCase {
function __construct() {
parent::UnitTestCase();
groups_create_role();
}
function test_get_user() {
@@ -70,7 +68,7 @@ class basicgrouplib_test extends UnitTestCase {
//...
$this->assertTrue($groupids= groups_get_groups_for_user($this->userid, $this->courseid));
//...
$this->assertTrue(1 == groups_get_no_group_members($this->groupid)); //Utillib.
$this->assertTrue(1 == groups_count_group_members($this->groupid)); //Utillib.
}
function test_remove_member() {