Permalink
Browse files

MDL-37602 Fix broken workshop unit tests

  • Loading branch information...
mudrd8mz committed Apr 3, 2013
1 parent e36942b commit 5582ea0a9b06374b9ccea1ba7258337dcfb63f11
Showing with 6 additions and 0 deletions.
  1. +6 −0 mod/workshop/tests/locallib_test.php
@@ -355,6 +355,9 @@ public function test_prepare_example_assessment() {
'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 @@ public function test_prepare_example_reference_assessment() {
'grade' => 0.75000,
'gradinggrade' => 1.00000,
'gradinggradeover' => null,
+ 'feedbackauthor' => null,
+ 'feedbackauthorformat' => 0,
+ 'feedbackauthorattachment' => 0,
);
// excersise SUT
$a = $this->workshop->prepare_example_reference_assessment($fakerawrecord);

0 comments on commit 5582ea0

Please sign in to comment.