Skip to content

Commit b68d266

Browse files
Added phpunit test on file question creation.
1 parent 5a1d20f commit b68d266

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/questiontypes_test.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,9 @@ public function test_create_question_yesno() {
9090
$this->create_test_question(QUESYESNO, '\\mod_questionnaire\\question\\yesno', array('content' => 'Enter yes or no'));
9191
}
9292

93+
public function test_create_question_file() {
94+
$this->create_test_question(QUESFILE, '\\mod_questionnaire\\question\\file', []);
95+
}
9396

9497
// General tests to call from specific tests above.
9598

0 commit comments

Comments
 (0)