X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dcompta/operations/supprimer.php?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2FGlobalFunctions%2FGlobalTest.php;h=ee4819fa5a66800d8ac1ccab97f86b00d173c02f;hb=39f0f919c5708f4c672a8eb7e0891f50bf16883e;hp=9d56150eb03b2e90d7b064be58d0c9261505cb1a;hpb=d3b580977d71e1bf93279301d90790cf3916d2a3;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/GlobalFunctions/GlobalTest.php b/tests/phpunit/includes/GlobalFunctions/GlobalTest.php index 9d56150eb0..ee4819fa5a 100644 --- a/tests/phpunit/includes/GlobalFunctions/GlobalTest.php +++ b/tests/phpunit/includes/GlobalFunctions/GlobalTest.php @@ -711,9 +711,9 @@ class GlobalTest extends MediaWikiTestCase { public function testWfMkdirParents() { // Should not return true if file exists instead of directory $fname = $this->getNewTempFile(); - MediaWiki\suppressWarnings(); + Wikimedia\suppressWarnings(); $ok = wfMkdirParents( $fname ); - MediaWiki\restoreWarnings(); + Wikimedia\restoreWarnings(); $this->assertFalse( $ok ); }