From d42cbc9a16fefb12fcb18dca5d6d338ead054e97 Mon Sep 17 00:00:00 2001 From: Mark Nelson Date: Tue, 16 Apr 2019 20:08:49 +0800 Subject: [PATCH] Removed unnecessary inclusion --- tests/element_helper_test.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tests/element_helper_test.php b/tests/element_helper_test.php index f65f250..4402a75 100644 --- a/tests/element_helper_test.php +++ b/tests/element_helper_test.php @@ -261,11 +261,6 @@ class mod_customcert_element_helper_testcase extends advanced_testcase { * Test we return the correct grade information for a course. */ public function test_get_course_grade_info() { - global $CFG; - - // Including to use constant. - require_once($CFG->dirroot . '/mod/customcert/element/grade/classes/element.php'); - // Create a course. $course = $this->getDataGenerator()->create_course();