MDL-38732 gradereport_grader: Undefined variable in unit tests
[moodle.git] / grade / tests / report_graderlib_test.php
index 8c39066..cf3d498 100644 (file)
@@ -65,6 +65,7 @@ class core_grade_report_graderlib_testcase extends advanced_testcase {
         $data = new stdClass();
         $data->id = $course->id;
         $data->report = 'grader';
+        $data->timepageload = time();
 
         $data->grade = array();
         $data->grade[$student->id] = array();