Merge branch 'MDL-37602-workshop-overall-feedback' of git://github.com/mudrd8mz/moodle
authorDan Poltawski <dan@moodle.com>
Wed, 3 Apr 2013 07:39:48 +0000 (15:39 +0800)
committerDan Poltawski <dan@moodle.com>
Wed, 3 Apr 2013 07:39:48 +0000 (15:39 +0800)
mod/workshop/tests/locallib_test.php

index 44e6cd5..a6321ed 100644 (file)
@@ -355,6 +355,9 @@ class mod_workshop_internal_api_testcase extends advanced_testcase {
             'grade'             => null,
             'gradinggrade'      => null,
             'gradinggradeover'  => null,
+            'feedbackauthor'    => null,
+            'feedbackauthorformat' => 0,
+            'feedbackauthorattachment' => 0,
         );
         // excersise SUT
         $a = $this->workshop->prepare_example_assessment($fakerawrecord);
@@ -381,6 +384,9 @@ class mod_workshop_internal_api_testcase extends advanced_testcase {
             'grade'             => 0.75000,
             'gradinggrade'      => 1.00000,
             'gradinggradeover'  => null,
+            'feedbackauthor'    => null,
+            'feedbackauthorformat' => 0,
+            'feedbackauthorattachment' => 0,
         );
         // excersise SUT
         $a = $this->workshop->prepare_example_reference_assessment($fakerawrecord);