From 35a375063cfe4b4de813dda20256a167f689ec89 Mon Sep 17 00:00:00 2001 From: Markus Date: Mon, 2 Sep 2024 18:09:18 +0200 Subject: [PATCH] remove deprecated code not in use anymore --- tests/adler_score_test.php | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/tests/adler_score_test.php b/tests/adler_score_test.php index 20fe144..9f77d31 100644 --- a/tests/adler_score_test.php +++ b/tests/adler_score_test.php @@ -19,28 +19,12 @@ require_once($CFG->libdir . '/completionlib.php'); # sometimes randomly required -class completion_info_mock extends completion_info { - use static_mock_utilities_trait; - - public function is_enabled($cm = null) { - return static::mock_this_function(__FUNCTION__, func_get_args()); - } - - public function get_data($cm, $wholecourse = false, $userid = 0, $unused = null) { - return static::mock_this_function(__FUNCTION__, func_get_args()); - } -} - class helpers_mock extends helpers { use static_mock_utilities_trait; public static function course_is_adler_course($course_id): bool { return static::mock_this_function(__FUNCTION__, func_get_args()); } - - public static function get_course_from_course_id($course_id) { - return static::mock_this_function(__FUNCTION__, func_get_args()); - } } class adler_score_mock extends adler_score {