MDL-29484 qformat xml tests failing.

This commit is contained in:
Tim Hunt 2011-09-23 12:05:47 +01:00
parent dab8148fde
commit e9735a1f31

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);
}