Use overrideConfigValue instead of setMwGlobals

Change-Id: I0ca6f1c546b6284d30c9251ee1719baa86e33bfc
This commit is contained in:
Fomafix 2024-08-22 20:01:29 +00:00
parent 8124b9eb6c
commit fd5995b244

View file

@ -161,7 +161,7 @@ class SpamBlacklistTest extends MediaWikiIntegrationTestCase {
}
private function prepareGlobals(): void {
$this->setMwGlobals( 'wgBlacklistSettings', [
$this->overrideConfigValue( 'BlacklistSettings', [
'files' => [],
] );