mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
Merge branch 'MDL-63711-master-fix' of git://github.com/junpataleta/moodle
This commit is contained in:
commit
6d47156f75
@ -390,12 +390,12 @@ class core_grades_privacy_testcase extends provider_testcase {
|
||||
$userlist = new \core_privacy\local\request\userlist($c1ctx, 'core_grades');
|
||||
provider::get_users_in_context($userlist);
|
||||
$course1userids = [$u1->id, $u2->id, $u3->id, $u4->id];
|
||||
$this->assertEquals($course1userids, $userlist->get_userids());
|
||||
$this->assertEquals($course1userids, $userlist->get_userids(), '', 0.0, 10, true);
|
||||
|
||||
$userlist = new \core_privacy\local\request\userlist($c2ctx, 'core_grades');
|
||||
provider::get_users_in_context($userlist);
|
||||
$course2userids = [$u5->id, $u2->id];
|
||||
$this->assertEquals($course2userids, $userlist->get_userids());
|
||||
$this->assertEquals($course2userids, $userlist->get_userids(), '', 0.0, 10, true);
|
||||
|
||||
$userlist = new \core_privacy\local\request\userlist($u2ctx, 'core_grades');
|
||||
provider::get_users_in_context($userlist);
|
||||
|
Loading…
x
Reference in New Issue
Block a user