This test requires an assignment with File Submissions enabled.
This test must be tested with the new 2.3 Assignment plugin ONLY.
1. Login as a teacher, update the assignment and set an 'Available from' date.
2. Login as a student and check that the 'Available from' date is displayed in the assignment and that before this date there is no upload file option.
3. Login as a teacher, update the assignment and set a due date. Set 'Prevent late submissions' to Yes.
4. Login as a student and check that the due date is displayed in the assignment and also in the course calendar.
5. Check that after the due date there is no longer an upload file option.