aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/user/UserTest.php
diff options
context:
space:
mode:
authorTaavi Väänänen <hi@taavi.wtf>2024-04-23 19:43:29 +0300
committerTaavi Väänänen <hi@taavi.wtf>2024-05-03 11:42:45 +0300
commit94acff644ad5354a449eeeae5786bf592b883190 (patch)
tree94258d18263bc7e9ac3a7fbf4f97502b38b883a0 /tests/phpunit/includes/user/UserTest.php
parentd9f0f2f8e2615a590c67ea6381b913847b59bfad (diff)
downloadmediawikicore-94acff644ad5354a449eeeae5786bf592b883190.tar.gz
mediawikicore-94acff644ad5354a449eeeae5786bf592b883190.zip
User: Hard-deprecate some methods with no uses in WMF production
Change-Id: I13fe4d9a35bac0e51960722b1436783a22fef745
Diffstat (limited to 'tests/phpunit/includes/user/UserTest.php')
-rw-r--r--tests/phpunit/includes/user/UserTest.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/phpunit/includes/user/UserTest.php b/tests/phpunit/includes/user/UserTest.php
index 805552be1210..30f916cb16f6 100644
--- a/tests/phpunit/includes/user/UserTest.php
+++ b/tests/phpunit/includes/user/UserTest.php
@@ -1222,6 +1222,7 @@ class UserTest extends MediaWikiIntegrationTestCase {
* @param bool $blockFromAccountCreation Whether to block account creation.
*/
public function testIsBlockedFromAction( $blockFromEmail, $blockFromAccountCreation ) {
+ $this->hideDeprecated( User::class . '::isBlockedFromEmailuser' );
$user = $this->getMutableTestUser( 'accountcreator' )->getUser();
$block = new DatabaseBlock( [