wiki.techinc.nl/tests/phpunit/includes/session
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
..
BotPasswordSessionProviderTest.php Add PasswordFactory to MediaWikiServices 2018-08-02 14:46:35 +01:00
CookieSessionProviderTest.php Add parentheses around nested inline IF statements 2018-07-30 07:21:46 -04:00
ImmutableSessionProviderWithCookieTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
MetadataMergeExceptionTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
PHPSessionHandlerTest.php Add parentheses around nested inline IF statements 2018-07-30 07:21:46 -04:00
SessionBackendTest.php Update MediaWiki\quietCall() -> Wikimedia\quietCall() 2018-02-10 10:49:33 +00:00
SessionIdTest.php
SessionInfoTest.php
SessionManagerTest.php Remove unused method parameters from TestBagOStuff 2018-01-30 11:04:45 -05:00
SessionProviderTest.php
SessionTest.php Clean up CSPRNG support for PHP7 2018-06-10 00:52:04 +00:00
TestBagOStuff.php Remove unused method parameters from TestBagOStuff 2018-01-30 11:04:45 -05:00
TestUtils.php Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
TokenTest.php
UserInfoTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00