From f8c27b02cf47281557fe889c5a2967def3355f51 Mon Sep 17 00:00:00 2001 From: Dan Marsden Date: Mon, 21 Aug 2017 11:33:59 +1200 Subject: [PATCH] Fix behat test with at-risk change to absentee --- locallib.php | 2 +- tests/behat/report.feature | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 06edb2b..a6e5585 100644 --- a/tests/behat/report.feature +++ b/tests/behat/report.feature @@ -152,7 +152,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 Given I log in as "teacher1" And I am on "Course 1" course homepage And I follow "Attendance" @@ -194,7 +194,7 @@ Feature: Visiting reports 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