mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 08:22:07 +02:00
MDL-57878 core: fixed failing unit test
Part of MDL-55611 epic.
This commit is contained in:
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user