From ace34e2bb2d2e4640fc5b6fdb74b44e8e04cb82c Mon Sep 17 00:00:00 2001 From: Mark Johnson Date: Tue, 21 Mar 2023 15:16:07 +0000 Subject: [PATCH] MDL-74452 quiz: Fix reopen_open_attempt_test --- mod/quiz/tests/external/reopen_attempt_test.php | 4 ++++ 1 file changed, 4 insertions(+) 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;