mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-24847 fixed incorrect unittest setup
This commit is contained in:
parent
6217809c8c
commit
f026fd1c82
@ -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',
|
||||
|
Loading…
x
Reference in New Issue
Block a user