-
Functional Test
-
Minor
-
Moodle 3.3
-
None
NOTE: You need admin permissions and public moodle instance to test this issue.
Create LTI tool registration
- As admin got to Site administration > Plugins > Activity modules > LTI > Manage tools
- Enter http://lti.tools/test/tp.php in the Tool URL input and click "Add"
- Select all options under Capabilities and Service in the new page that loads
- Press "Register tool"
- When asked if you'd like to activate this tool, click "Yes"
Add a LTI activity
- As a teacher in a course, add an activity and select your recently configured LTI tool from the list (likely called "Test tool provider").
- Type a Activity name
- Save and Display
- Ensure that you see a page that says: "IMS LTI tool provider emulator"
- Click on "Memberships" icon and then click on "Read" button
- Check the JSON in the response to ensure it correctly reports each user enrolled in the course
Add a LTI activity (alternate way)
- As a teacher in a course, add an activity "External tool".
- Type a Activity name and select "Test tool provider" for "External tool type"
- Save and Display
- Ensure that you see a page that says: "IMS LTI tool provider emulator"
- Click on "Memberships" icon and then click on "Read" button
- Check the JSON in the response to ensure it correctly reports each user enrolled in the course