aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/GlobalFunctions/GlobalWithDBTest.php
diff options
context:
space:
mode:
authorReedy <reedy@wikimedia.org>2020-06-09 01:07:52 +0100
committerReedy <reedy@wikimedia.org>2020-06-09 19:27:16 +0000
commit567e1bbb5daecb54e58b58b45ee9c9d28f52f195 (patch)
tree5a6ac0f27a9296d1f6fe8fd8a49b1a036d6e39e7 /tests/phpunit/includes/GlobalFunctions/GlobalWithDBTest.php
parent416dd55228e2aac04ac45e5359ca7cb688673cf7 (diff)
downloadmediawikicore-567e1bbb5daecb54e58b58b45ee9c9d28f52f195.tar.gz
mediawikicore-567e1bbb5daecb54e58b58b45ee9c9d28f52f195.zip
Hard deprecate wfIsBadImage()
Bug: T249459 Depends-On: Iec58118198864704b1860aeb630476391e3a2c23 Change-Id: I939ded72427adc973739e7b376ea85cbf4b3e258
Diffstat (limited to 'tests/phpunit/includes/GlobalFunctions/GlobalWithDBTest.php')
-rw-r--r--tests/phpunit/includes/GlobalFunctions/GlobalWithDBTest.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/phpunit/includes/GlobalFunctions/GlobalWithDBTest.php b/tests/phpunit/includes/GlobalFunctions/GlobalWithDBTest.php
index efae24dd0501..e5fb3894104c 100644
--- a/tests/phpunit/includes/GlobalFunctions/GlobalWithDBTest.php
+++ b/tests/phpunit/includes/GlobalFunctions/GlobalWithDBTest.php
@@ -42,6 +42,7 @@ class GlobalWithDBTest extends MediaWikiTestCase {
// Enable messages from MediaWiki namespace
MediaWikiServices::getInstance()->getMessageCache()->enable();
+ $this->hideDeprecated( 'wfIsBadImage' );
$this->assertEquals( $expected, wfIsBadImage( $name, $title ) );
}
}