diff --git a/locallib.php b/locallib.php index 52ae86e..275eb01 100644 --- a/locallib.php +++ b/locallib.php @@ -713,7 +713,7 @@ SELECT a.id, a.course as courseid, c.fullname as coursename, atl.studentid AS us } /** - * Generates a list of users flagged at-risk. + * Generates a list of users flagged absent. * * @param array $courseids optional list of courses to return * @param bool $allfornotify get notification list for scheduled task. diff --git a/tests/behat/report.feature b/tests/behat/report.feature index eee95f2..125d6b1 100644 --- a/tests/behat/report.feature +++ b/tests/behat/report.feature @@ -153,7 +153,7 @@ Feature: Visiting reports And I log out - Scenario: Teacher visit summary report and at-risk report + Scenario: Teacher visit summary report and absentee report When I log in as "teacher1" And I follow "Course 1" And I follow "Attendance" @@ -194,7 +194,7 @@ Feature: Visiting reports And "50.0%" "text" should exist in the "Student 1" "table_row" And "5 / 6" "text" should exist in the "Student 1" "table_row" And "83.3%" "text" should exist in the "Student 1" "table_row" - And I follow "At-risk report" + And I follow "Absentee report" And I should see "Student 1" And I log out