MDL-20636 make qe upgrade tests independent of html2text details.

Based on Eloy's change, but refactored to be slightly nicer.
This commit is contained in:
Tim Hunt 2011-06-06 17:05:54 +01:00
parent 0370e3ab0d
commit 4c5743343f
14 changed files with 79 additions and 50 deletions

View file

@ -269,7 +269,7 @@ class qtype_essay_attempt_upgrader_test extends question_attempt_upgrader_test_b
),
);
$this->assertEqual($expectedqa, $qa);
$this->compare_qas($expectedqa, $qa);
}
public function test_essay_deferredfeedback_history820() {
@ -449,7 +449,7 @@ class qtype_essay_attempt_upgrader_test extends question_attempt_upgrader_test_b
),
);
$this->assertEqual($expectedqa, $qa);
$this->compare_qas($expectedqa, $qa);
}
public function test_essay_deferredfeedback_missing() {
@ -561,6 +561,6 @@ class qtype_essay_attempt_upgrader_test extends question_attempt_upgrader_test_b
),
);
$this->assertEqual($expectedqa, $qa);
$this->compare_qas($expectedqa, $qa);
}
}