gradebook MDL-24330 unit tests now function differently so produce different results
authorAndrew Davis <andrew@affinitysoftware.net>
Mon, 13 Dec 2010 06:55:32 +0000 (06:55 +0000)
committerAndrew Davis <andrew@affinitysoftware.net>
Mon, 13 Dec 2010 06:55:32 +0000 (06:55 +0000)
lib/simpletest/fixtures/gradetest.php

index a8fe7ec..ea5f4a3 100644 (file)
@@ -647,7 +647,7 @@ class grade_test extends UnitTestCaseUsingDatabase {
         $grade = new stdClass();
         $grade->itemid = $this->grade_items[1]->id;
         $grade->userid = 1;
-        $grade->finalgrade = 60;
+        $grade->finalgrade = 72;
         $grade->timecreated = mktime();
         $grade->timemodified = mktime();
         $grade->information = '4 of 17 grade_grades';
@@ -658,7 +658,7 @@ class grade_test extends UnitTestCaseUsingDatabase {
         $grade = new stdClass();
         $grade->itemid = $this->grade_items[1]->id;
         $grade->userid = 2;
-        $grade->finalgrade = 70;
+        $grade->finalgrade = 92;
         $grade->timecreated = mktime();
         $grade->timemodified = mktime();
         $grade->information = '5 of 17 grade_grades';