MDL-29571 qtype description refactor unit test code a bit.
This commit is contained in:
committed by
Eloy Lafuente (stronk7)
parent
133173e213
commit
5e69fe4971
@@ -41,7 +41,7 @@ class question_attempt_step_iterator_test extends UnitTestCase {
|
||||
private $iterator;
|
||||
|
||||
public function setUp() {
|
||||
$question = test_question_maker::make_a_description_question();
|
||||
$question = test_question_maker::make_question('description');
|
||||
$this->qa = new testable_question_attempt($question, 0);
|
||||
for ($i = 0; $i < 3; $i++) {
|
||||
$step = new question_attempt_step(array('i' => $i));
|
||||
|
||||
Reference in New Issue
Block a user