MDL-41022 cleanup core_grade_grade_testcase
authorPetr Škoda <commits@skodak.org>
Sun, 11 Aug 2013 11:28:35 +0000 (13:28 +0200)
committerPetr Škoda <commits@skodak.org>
Sat, 24 Aug 2013 14:20:53 +0000 (16:20 +0200)
lib/grade/tests/grade_grade_test.php

index 1d91caa..8168580 100644 (file)
@@ -65,7 +65,7 @@ class core_grade_grade_testcase extends grade_base_testcase {
         $grade_grade->rawgrademax = 110;
         $grade_grade->rawgrademin = 18;
 
-        // Check the grade_item's needsupdate variable first
+        // Check the grade_item's needsupdate variable first.
         $grade_grade->load_grade_item();
         $this->assertEmpty($grade_grade->grade_item->needsupdate);
 
@@ -75,12 +75,12 @@ class core_grade_grade_testcase extends grade_base_testcase {
 
         $this->assertEquals($grade_grade->id, $last_grade_grade->id + 1);
 
-        // timecreated will only be set if the grade was submitted by an activity module
+        // Timecreated will only be set if the grade was submitted by an activity module.
         $this->assertTrue(empty($grade_grade->timecreated));
-        // timemodified will only be set if the grade was submitted by an activity module
+        // Timemodified will only be set if the grade was submitted by an activity module.
         $this->assertTrue(empty($grade_grade->timemodified));
 
-        //keep our collection the same as is in the database
+        // Keep our collection the same as is in the database.
         $this->grade_grades[] = $grade_grade;
     }