From b41a748a98599a490b7ddf5907b494dd0f2cd024 Mon Sep 17 00:00:00 2001 From: Mihail Geshoski Date: Wed, 19 May 2021 10:02:47 +0800 Subject: [PATCH] MDL-71242 core_course: Fix failing unit test --- course/tests/courselib_test.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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' => [