- Log in as a teacher, go to a course and turn editing on.
- Add an assignment with file submissions selected as submission type and maximum submission size set to 10KB.
- Log out then log in as a student and check that the message "Maximum file size: 10KB" is displayed.
- Try uploading a file bigger than 10KB and check that the message "The file XXX is too large. The maximum size you can upload is 10KB." is displayed.