Merge branch 'MDL-29484' of git://github.com/timhunt/moodle

This commit is contained in:
Sam Hemelryk 2011-09-26 13:53:17 +13:00
commit aa856c7999

View File

@ -306,6 +306,7 @@ END;
$expectedq->attachments = 0;
$expectedq->graderinfo['text'] = '';
$expectedq->graderinfo['format'] = FORMAT_MOODLE;
$expectedq->graderinfo['files'] = array();
$this->assert(new CheckSpecifiedFieldsExpectation($expectedq), $q);
}
@ -350,6 +351,7 @@ END;
$expectedq->attachments = -1;
$expectedq->graderinfo['text'] = '<p>Grade <b>generously</b>!</p>';
$expectedq->graderinfo['format'] = FORMAT_HTML;
$expectedq->graderinfo['files'] = array();
$this->assert(new CheckSpecifiedFieldsExpectation($expectedq), $q);
}