aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/exception
diff options
context:
space:
mode:
Diffstat (limited to 'tests/phpunit/includes/exception')
-rw-r--r--tests/phpunit/includes/exception/MWExceptionTest.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/phpunit/includes/exception/MWExceptionTest.php b/tests/phpunit/includes/exception/MWExceptionTest.php
index 62cd3700777d..5c3564479dd7 100644
--- a/tests/phpunit/includes/exception/MWExceptionTest.php
+++ b/tests/phpunit/includes/exception/MWExceptionTest.php
@@ -1,5 +1,7 @@
<?php
+use MediaWiki\MainConfigNames;
+
/**
* @covers \MWException
* @author Antoine Musso
@@ -46,7 +48,7 @@ class MWExceptionTest extends MediaWikiIntegrationTestCase {
*/
public function testReport() {
// Turn off to keep mw-error.log file empty in CI (and thus avoid build failure)
- $this->setMwGlobals( 'wgDebugLogGroups', [] );
+ $this->overrideConfigValue( MainConfigNames::DebugLogGroups, [] );
global $wgOut;
$wgOut->disable();