diff --git a/mod/quiz/tests/external/reopen_attempt_test.php b/mod/quiz/tests/external/reopen_attempt_test.php index d81c242e1e2ae..2b0c73f08b805 100644 --- a/mod/quiz/tests/external/reopen_attempt_test.php +++ b/mod/quiz/tests/external/reopen_attempt_test.php @@ -16,6 +16,10 @@ namespace mod_quiz\external; +defined('MOODLE_INTERNAL') || die(); + +require_once(__DIR__ . '/../../../../webservice/tests/helpers.php'); + use coding_exception; use core_question_generator; use externallib_advanced_testcase;