This test requires an assignment with file submissions enabled.
- Log in as a teacher, update the assignment and set a due date in the past. Do not set a cut-off date.
- Log in as a student and upload a file.
- Check that the file is uploaded successfully and a download link is displayed together with the submission date and time in red (indicating that it is late).
- Log in as a teacher and access the assignment.
- Follow the 'View all submissions' link and click the Grade link for the late submission
- Check that the submission displays the due date and a message saying how late it was submitted.