Details
-
Functional Test
-
Status: Passed
-
Minor
-
Moodle 3.1
Description
Note: Two sites are required for testing this issue.
- LTI consumer
- LTI provider.
Enable LTI provider on course and activity
- Login as administrator.
- Follow Site administration ► Security ► HTTP security and enable 'Allow frame embedding'.
- Follow Site administration ► Plugins ► Authentication ► Manage authentication' and enable 'LTI' authentication.
- Follow Site administration ► Plugins ► Enrolments ► Manage enrol plugins and enable 'Shared external tool'.
- Log out and log in as teacher.
- Visit a course with at least 1 activity (assignment) and 1 resource (file).
- Follow Course administration ► Users ► Enrolment methods.
- Add a shared external tool with 'Tool to be provided' selected to course.
- Add a shared external tool with 'Tool to be provided' selected to assignment
- Add a shared external tool with 'Tool to be provided' selected to file.
- Follow Course administration ► Shared external tools.
- Make note of all 3 URLs and secrets.
On your LTI consumer site.
- Visit a course.
- Add 3 'External Tool' activities and use the following from your LTI provider site.
- URL as 'Launch/Cartridge URL'.
- Secret as 'Shared secret'.
- Set 'Consumer key' as 'moodle'
- Log in as a student.
- Visit the course and click on each LTI activity.
- Verify 'External Tool' activity links to course display course.
- Verify 'External Tool' activity links to assignment display assignment.
- Verify 'External Tool' activity links to file display file.