mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 12:45:04 +01:00
Unit tests MDL-24842: Fixed error in previous UnitTestCaseDatabase change
This commit is contained in:
parent
473792550d
commit
ca79c36843
@ -538,7 +538,7 @@ class UnitTestCaseUsingDatabase extends UnitTestCase {
|
||||
* have, display a rude message and clean it up for them.
|
||||
*/
|
||||
private function automatic_clean_up() {
|
||||
global $DB;
|
||||
global $DB, $CFG;
|
||||
$cleanmore = false;
|
||||
|
||||
// Drop any test tables that were created.
|
||||
|
Loading…
x
Reference in New Issue
Block a user