MDL-57878 core: fixed failing unit test
Part of MDL-55611 epic.
This commit is contained in:
committed by
Damyon Wiese
parent
6c83e65928
commit
9bd158a3c7
@@ -470,9 +470,10 @@ class core_modinfolib_testcase extends advanced_testcase {
|
||||
* Tests for function cm_info::get_course_module_record()
|
||||
*/
|
||||
public function test_cm_info_get_course_module_record() {
|
||||
global $DB, $CFG;
|
||||
global $DB;
|
||||
|
||||
$this->resetAfterTest();
|
||||
$this->setAdminUser();
|
||||
|
||||
set_config('enableavailability', 1);
|
||||
set_config('enablecompletion', 1);
|
||||
|
||||
Reference in New Issue
Block a user