MDL-78597 core_course: fix content item tests covering get_all cases
commitafa44dd2885348188983c90a4c77e72908735377
authorJake Dallimore <jake@moodle.com>
Tue, 1 Aug 2023 04:15:41 +0000 (1 12:15 +0800)
committerJake Dallimore <jake@moodle.com>
Tue, 29 Aug 2023 05:06:48 +0000 (29 13:06 +0800)
treefa16ad5354568836c76387ce4cb684daeaaf16b5
parent85679c47da7dc608001e1c44536efae0c749326c
MDL-78597 core_course: fix content item tests covering get_all cases

Fixes two tests which use the lti module as an example of a core mod
implementing the 'get_all_content_items' callback. The setup of the mod
in these tests, including course and site tools, needed to be updated
in light of the removal of the 'external tool' content item.
course/tests/content_item_readonly_repository_test.php
course/tests/services_content_item_service_test.php