Merge branch 'wip-MDL-57769-master' of https://github.com/marinaglancy/moodle
[moodle.git] / course / tests / courselib_test.php
index 374aaaf..61169d5 100644 (file)
@@ -97,6 +97,7 @@ class core_course_courselib_testcase extends advanced_testcase {
         $moduleinfo->sendlatenotifications = true;
         $moduleinfo->duedate = time() + (7 * 24 * 3600);
         $moduleinfo->cutoffdate = time() + (7 * 24 * 3600);
+        $moduleinfo->gradingduedate = time() + (7 * 24 * 3600);
         $moduleinfo->allowsubmissionsfromdate = time();
         $moduleinfo->teamsubmission = true;
         $moduleinfo->requireallteammemberssubmit = true;