Skip to content

Commit

Permalink
remove deprecated code not in use anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
Glutamat42 committed Sep 2, 2024
1 parent 5c7059d commit 35a3750
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions tests/adler_score_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 35a3750

Please sign in to comment.