aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/auth/ResetPasswordSecondaryAuthenticationProviderTest.php
diff options
context:
space:
mode:
authorCindy Cicalese <cindom@gmail.com>2021-04-12 20:43:46 -0400
committerCicalese <ccicalese@wikimedia.org>2021-04-21 02:48:31 +0000
commitce6a4ef45e623c248b29ece228bb72e7fc27f51a (patch)
tree83bcb4ba2be02bb40c0c11bb0e280a755362fad3 /tests/phpunit/includes/auth/ResetPasswordSecondaryAuthenticationProviderTest.php
parentf8ed11e1705137da7077ad9d2045f4ccd9ed4e06 (diff)
downloadmediawikicore-ce6a4ef45e623c248b29ece228bb72e7fc27f51a.tar.gz
mediawikicore-ce6a4ef45e623c248b29ece228bb72e7fc27f51a.zip
Use WatchlistManager in auth classes
Change-Id: Ib8d338bc0b167277f36ab6c5d45c98c35e4a9ba9
Diffstat (limited to 'tests/phpunit/includes/auth/ResetPasswordSecondaryAuthenticationProviderTest.php')
-rw-r--r--tests/phpunit/includes/auth/ResetPasswordSecondaryAuthenticationProviderTest.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/phpunit/includes/auth/ResetPasswordSecondaryAuthenticationProviderTest.php b/tests/phpunit/includes/auth/ResetPasswordSecondaryAuthenticationProviderTest.php
index 663f48eb9901..05d58caeff9c 100644
--- a/tests/phpunit/includes/auth/ResetPasswordSecondaryAuthenticationProviderTest.php
+++ b/tests/phpunit/includes/auth/ResetPasswordSecondaryAuthenticationProviderTest.php
@@ -103,7 +103,8 @@ class ResetPasswordSecondaryAuthenticationProviderTest extends \MediaWikiIntegra
$mwServices->getReadOnlyMode(),
$userNameUtils,
$mwServices->getBlockManager(),
- $mwServices->getBlockErrorFormatter()
+ $mwServices->getBlockErrorFormatter(),
+ $mwServices->getWatchlistManager()
);
$provider->setManager( $manager );
$provider = TestingAccessWrapper::newFromObject( $provider );