wiki.techinc.nl/tests/phpunit/includes/user
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
..
BotPasswordTest.php Add PasswordFactory to MediaWikiServices 2018-08-02 14:46:35 +01:00
CentralIdLookupTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
ExternalUserNamesTest.php Add ExternalUserNames::getLocal() to get local part of username 2018-03-09 20:53:54 +01:00
LocalIdLookupTest.php Whenever possible, reuse User objects in unit tests 2016-05-26 20:42:31 +00:00
PasswordResetTest.php Convert PasswordReset to using MapCacheLRU 2018-07-14 01:31:54 +00:00
UserArrayFromResultTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
UserGroupMembershipTest.php Add actor table and code to start using it 2018-02-23 10:06:20 -08:00
UserTest.php Disable PHPUnit tests that fail under postgres 2018-08-01 22:22:15 +00:00