MDL-38732 gradereport_grader: Undefined variable in unit tests
authorFrederic Massart <fred@moodle.com>
Wed, 15 Oct 2014 04:22:10 +0000 (12:22 +0800)
committerFrederic Massart <fred@moodle.com>
Wed, 15 Oct 2014 04:22:35 +0000 (12:22 +0800)
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();