This test requires the following conditions:
*An assignment submission statement must have been added to Settings>Site administration>Plugins>Activity modules>Assignment;
*The checkbox "require that students accept the statement" must be set to "No".
1.Log in as a teacher to a course and create an assignment.
2.In the Assignment settings, set both the "Require that students click submit button" and the " "Require that students accept the submission statement" to "Yes"
3.Leave other settings as default and save the assignment
4.Log in as a student and navigate to the assignment.
5.Complete the assignment (eg upload a file)
6.Verify that you cannot submit the assignment unless you accept the submission statement.
7.Log back in as a teacher and revert the student's assignment to draft
8.In the assignment settings, change the "Require that students accept the submission statement" to "No"
9.Log back in as a student and verify that you can submit the assignment without being presented with a submission statement.