MDL-24847 fixed incorrect unittest setup

This commit is contained in:
Petr Skoda 2010-10-26 12:58:13 +00:00
parent 6217809c8c
commit f026fd1c82

View File

@ -124,6 +124,7 @@ class accesslib_test extends UnitTestCaseUsingDatabase {
// And make user a into admin
$CFG->siteadmins = $users['a']->id;
$CFG->defaultuserroleid = $userrole;
// And some group memebership.
$gms = $this->load_test_data('groups_members',