mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
Merge branch 'MDL-59395_master-fix' of github.com:markn86/moodle
This commit is contained in:
commit
d5d70e57a4
@ -38,7 +38,7 @@ Feature: User can view activity log.
|
||||
Given I log in as "teacher1"
|
||||
And I am on "Course 1" course homepage
|
||||
And I navigate to course participants
|
||||
And I follow "Student 1"
|
||||
And I click on "img.userpicture" "css_element" in the "Student 1" "table_row"
|
||||
When I follow "Today's logs"
|
||||
And I should see "Assignment: Test assignment name"
|
||||
And I follow "Student 1"
|
||||
@ -54,7 +54,7 @@ Feature: User can view activity log.
|
||||
And I log in as "teacher1"
|
||||
And I am on "Course 1" course homepage
|
||||
And I navigate to course participants
|
||||
And I follow "Student 1"
|
||||
And I click on "img.userpicture" "css_element" in the "Student 1" "table_row"
|
||||
When I follow "Today's logs"
|
||||
And I should see "No log reader enabled"
|
||||
And I follow "Student 1"
|
||||
|
@ -867,7 +867,7 @@ class core_userliblib_testcase extends advanced_testcase {
|
||||
|
||||
// Now, when we perform the following search we should only return 2 users. Users who belong to
|
||||
// the group and have the name 'searchforthis' and have also accessed the site in the last day.
|
||||
$userset = user_get_participants(SITEID, $group->id, $accesssince + 1, 0, 'searchforthis');
|
||||
$userset = user_get_participants(SITEID, $group->id, $accesssince + 1, 0, 'searchforthis', '', array(), 'ORDER BY id ASC');
|
||||
|
||||
$this->assertEquals($user1->id, $userset->current()->id);
|
||||
$userset->next();
|
||||
|
Loading…
x
Reference in New Issue
Block a user