mirror of
https://github.com/moodle/moodle.git
synced 2025-02-15 13:24:56 +01:00
MDL-31181 fix missing global $CFG that was breaking unit test teardown
This commit is contained in:
parent
f6b4ec2b4a
commit
aeacb7b128
@ -785,6 +785,7 @@ class filter_filter_set_applies_to_strings extends UnitTestCaseUsingDatabase {
|
||||
}
|
||||
|
||||
public function tearDown() {
|
||||
global $CFG;
|
||||
$CFG->stringfilters = $this->origcfgstringfilters;
|
||||
$CFG->filterall = $this->origcfgfilterall;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user