All the setup/teardown/pre/post/conditions template methods now are required to return void. This was warned with phpunit 7 and now is enforced. At the same time, fix a few wrong function names, provider data and param types, return statements...
Adding a unit test for the situation where a course is partially deleted when a list of courses in a category is retrived.
Also rename course_in_list -> core_course_list_element Deprecate class coursecat_sortable_records