Skip to content

Commit ac76c8f

Browse files
Fixed all tests failing on moodle 3.9
1 parent b68d266 commit ac76c8f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/questiontypes_test.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929

3030
global $CFG;
3131
require_once($CFG->dirroot.'/mod/questionnaire/locallib.php');
32+
require_once($CFG->dirroot.'/mod/questionnaire/classes/question/question.php'); // Import type question ids.
3233

3334
/**
3435
* Unit tests for {@link questionnaire_questiontypes_testcase}.

0 commit comments

Comments
 (0)