Skip to content

Commit

Permalink
Merge branch 'MDL-63711-master-fix' of git://github.com/junpataleta/m…
Browse files Browse the repository at this point in the history
…oodle
  • Loading branch information
andrewnicols authored and David Monllao committed Nov 6, 2018
2 parents 5c14575 + ad2737c commit 6d47156
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions grade/tests/privacy_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -390,12 +390,12 @@ public function test_get_users_in_context_grades_and_history() {
$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);
Expand Down

0 comments on commit 6d47156

Please sign in to comment.