- Log in as a teacher and add a new assignment activity to a course.
- As accepted file types, enter 'image/png; image/jpeg' then save and display.
- Log in as a student, go to the assignment and check that a message is displayed stating that only png or jpeg files may be submitted.
- Try submitting various file types and check that you can only add png or jpeg files.
- Log in as the teacher again, update the assignment and change the accepted file types to .pdf.
- Log in as the student again, try submitting various file types and check that you can only add pdf files.