wiki.techinc.nl/tests/phpunit/includes/auth
Kunal Mehta fb73286fba Add PasswordFactory to MediaWikiServices
Instead of having basically every caller do:
 $pf = new PasswordFactory();
 $pf->init( RequestContext::getMain()->getConfig() );
Just create a single PasswordFactory via MediaWikiServices and pass that
around. Things that want to use their own config can still pass settings
via the new constructor.

This will eventually let us remove the init() function, removing the
only hard dependency upon MediaWiki, to make it easier to librarize
(T89742).

Change-Id: I0fc7520dc023b11a7fa66083eff7b88ebfe49c7b
2018-08-02 14:46:35 +01:00
..
AbstractAuthenticationProviderTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
AbstractPasswordPrimaryAuthenticationProviderTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
AbstractPreAuthenticationProviderTest.php
AbstractPrimaryAuthenticationProviderTest.php phpunit: Avoid use of deprecated getMock for PHPUnit 5 compat 2017-04-06 00:44:32 +00:00
AbstractSecondaryAuthenticationProviderTest.php phpunit: Avoid use of deprecated getMock for PHPUnit 5 compat 2017-04-06 00:44:32 +00:00
AuthenticationRequestTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
AuthenticationRequestTestCase.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
AuthenticationResponseTest.php
AuthManagerTest.php Automatically reset namespace caches when needed 2018-08-01 16:30:08 +03:00
AuthPluginPrimaryAuthenticationProviderTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
ButtonAuthenticationRequestTest.php
CheckBlocksSecondaryAuthenticationProviderTest.php Add actor table and code to start using it 2018-02-23 10:06:20 -08:00
ConfirmLinkAuthenticationRequestTest.php
ConfirmLinkSecondaryAuthenticationProviderTest.php Switch to librarized version of TestingAccessWrapper 2017-04-20 14:15:57 +00:00
CreatedAccountAuthenticationRequestTest.php
CreateFromLoginAuthenticationRequestTest.php
CreationReasonAuthenticationRequestTest.php
EmailNotificationSecondaryAuthenticationProviderTest.php tests: Add some more @covers tags 2018-05-07 17:49:01 +00:00
LegacyHookPreAuthenticationProviderTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
LocalPasswordPrimaryAuthenticationProviderTest.php Fix tests for I7afaa955a4b393ef00b11e420709bd62b84fbc71 2017-11-14 17:58:49 -08:00
PasswordAuthenticationRequestTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
PasswordDomainAuthenticationRequestTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
RememberMeAuthenticationRequestTest.php Switch to librarized version of TestingAccessWrapper 2017-04-20 14:15:57 +00:00
ResetPasswordSecondaryAuthenticationProviderTest.php Switch to librarized version of TestingAccessWrapper 2017-04-20 14:15:57 +00:00
TemporaryPasswordAuthenticationRequestTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
TemporaryPasswordPrimaryAuthenticationProviderTest.php Add PasswordFactory to MediaWikiServices 2018-08-02 14:46:35 +01:00
ThrottlePreAuthenticationProviderTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
ThrottlerTest.php MediaWiki\Auth\Throttler: Change "ip" key name 2018-05-25 15:55:19 -04:00
UserDataAuthenticationRequestTest.php Remove empty lines at end of functions 2016-11-05 11:55:10 +01:00
UsernameAuthenticationRequestTest.php