mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-58563 group: Specify table alias in sort parameter for group test
This commit is contained in:
parent
bd99cb9021
commit
d3679c37af
@ -1443,7 +1443,7 @@ class core_grouplib_testcase extends advanced_testcase {
|
||||
$this->assertCount(0, $members);
|
||||
|
||||
// Test groups_get_members.
|
||||
$members = groups_get_members($group2->id, 'u.*', 'id ASC');
|
||||
$members = groups_get_members($group2->id, 'u.*', 'u.id ASC');
|
||||
$this->assertCount(2, $members);
|
||||
$this->assertEquals([$user1->id, $user2->id], array_keys($members));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user