-
Functional Test
-
None
-
Moodle 2.2
-
None
This test requires a course containing several files and for the server files repository to be enabled.
1. Log in as a teacher, go to the course and add a new file resource.
2. Click the Add button select a file then in the file picker choose Server files.
3. Browse to the course and check that all the files used in the course are displayed.
4. Check that for courses where the user is not a teacher no files are displayed.
5. Select a file and then save and display the file resource.
6. Check that the file is displayed correctly.