Any course in Moodle.
A teacher and a student.
1. Login as a teacher and add a lesson activity.
2. On the settings form look for "Pop-up to a file or web page". Drag and drop a file onto the file manager, which currently contains the text 'No files attached drag and drop files here to upload them.'
4. Click 'Save changes'.
5. Add a question page.
6. Preview the lesson. Check that there is a link to your file under "Linked media". It appears above the navigation block and can be a little hard to find.
7. Click on the file link and check that the link works.
8. Login as a Student and verify that the file is correct.