Skip to content
Browse files

MDL-38311 question manual grading: comment fixes.

  • Loading branch information...
1 parent 3d6fb34 commit fdbb450f5fab46771a55d997f57a0ef2c3491353 @timhunt timhunt committed with stronk7 Mar 6, 2013
Showing with 2 additions and 1 deletion.
  1. +1 −0 question/engine/questionusage.php
  2. +1 −1 question/engine/tests/unitofwork_test.php
View
1 question/engine/questionusage.php
@@ -646,6 +646,7 @@ public function finish_all_questions($timestamp = null) {
* @param string $comment the comment being added to the question attempt.
* @param number $mark the mark that is being assigned. Can be null to just
* add a comment.
+ * @param int $commentformat one of the FORMAT_... constants. The format of $comment.
*/
public function manual_grade($slot, $comment, $mark, $commentformat = null) {
$qa = $this->get_question_attempt($slot);
View
2 question/engine/tests/unitofwork_test.php
@@ -174,7 +174,7 @@ public function test_add_and_start_question() {
public function test_process_action() {
- $this->quba->manual_grade($this->slot, 'Acutally, that is not quite right', 0.5, FORMAT_HTML);
+ $this->quba->manual_grade($this->slot, 'Actually, that is not quite right', 0.5, FORMAT_HTML);
// Here, however, were we are adding a step to an existing qa, we do need to track that.
$this->assertEquals(0, count($this->observer->get_attempts_added()));

0 comments on commit fdbb450

Please sign in to comment.
Something went wrong with that request. Please try again.