diff --git a/course/tests/courselib_test.php b/course/tests/courselib_test.php index b52d65bd398..31ab68d79be 100644 --- a/course/tests/courselib_test.php +++ b/course/tests/courselib_test.php @@ -5508,8 +5508,7 @@ class core_course_courselib_testcase extends advanced_testcase { [ 'shortname DESC, xyz ASC', 'Invalid field in the sort parameter, allowed fields: id, idnumber, summary, summaryformat, ' . - 'startdate, enddate, category, shortname, fullname, timeaccess, component, visible, ' . - 'showactivitydates, showcompletionconditions.', + 'startdate, enddate, category, shortname, fullname, timeaccess, component, visible.', ], 'Sort uses invalid value for the sorting direction' => [