wiki.techinc.nl/tests/phpunit/includes/api
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
..
format Avoid a redirect loop when the request URL is not normalized 2018-07-16 15:55:59 +10:00
query Disable PHPUnit tests that fail under sqlite 2018-08-01 00:19:43 -07:00
ApiBaseTest.php Disable PHPUnit tests that fail under postgres 2018-08-01 22:22:15 +00:00
ApiBlockTest.php Get rid of ApiTestCase::doLogin 2018-04-11 20:17:52 +03:00
ApiCheckTokenTest.php
ApiClearHasMsgTest.php Add message to the assert of ApiClearHasMsgTest 2018-01-03 04:29:23 +02:00
ApiComparePagesTest.php Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
ApiContinuationManagerTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
ApiDeleteTest.php Get rid of ApiTestCase::doLogin 2018-04-11 20:17:52 +03:00
ApiDisabledTest.php Test ApiDisabled.php 2018-03-20 18:01:07 +02:00
ApiEditPageTest.php Automatically reset namespace caches when needed 2018-08-01 16:30:08 +03:00
ApiErrorFormatterTest.php Update suppressWarning()/restoreWarning() calls 2018-02-10 08:50:12 +00:00
ApiLoginTest.php Add PasswordFactory to MediaWikiServices 2018-08-02 14:46:35 +01:00
ApiMainTest.php Deprecate $wgShowSQLErrors and $wgShowDBErrorBacktrace and make nonfunctional 2018-07-25 10:38:19 -05:00
ApiMessageTest.php
ApiModuleManagerTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
ApiMoveTest.php Test ApiMove 2018-04-15 14:13:08 +03:00
ApiOpenSearchTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
ApiOptionsTest.php Introduce preference filters 2018-07-17 13:19:14 -07:00
ApiPageSetTest.php build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
ApiParseTest.php API: Add ApiParseTest case for 'styles' in getDefaultModules 2018-05-04 01:03:47 +01:00
ApiPurgeTest.php Get rid of ApiTestCase::doLogin 2018-04-11 20:17:52 +03:00
ApiQueryAllPagesTest.php Get rid of ApiTestCase::doLogin 2018-04-11 20:17:52 +03:00
ApiQueryPrefixSearchTest.php Silently drop unknown titles in completion search 2018-06-11 13:56:19 -07:00
ApiQueryRecentChangesIntegrationTest.php Merge "Add ability to filter based on rc_title in API" 2018-05-24 10:13:06 +00:00
ApiQuerySearchTest.php Convert SearchResultSet to typical iteration 2018-06-11 13:35:41 -07:00
ApiQuerySiteinfoTest.php Test ApiQuerySiteinfo 2018-08-01 16:30:13 +03:00
ApiQueryWatchlistIntegrationTest.php [MCR] Factor PageUpdater out of WikiPage 2018-06-14 13:22:13 +00:00
ApiQueryWatchlistRawIntegrationTest.php Get rid of ApiTestCase::doLogin 2018-04-11 20:17:52 +03:00
ApiResultTest.php
ApiRevisionDeleteTest.php
ApiSetNotificationTimestampIntegrationTest.php Get rid of ApiTestCase::doLogin 2018-04-11 20:17:52 +03:00
ApiStashEditTest.php Get rid of ApiTestCase::doLogin 2018-04-11 20:17:52 +03:00
ApiTestCase.php New helper ApiTestCase::setExpectedApiException() 2018-08-01 14:13:23 +03:00
ApiTestCaseUpload.php Drop deprecated EnableAPI and EnableWriteAPI settings 2018-04-18 00:30:34 +00:00
ApiTestContext.php
ApiTokensTest.php
ApiUnblockTest.php Get rid of ApiTestCase::doLogin 2018-04-11 20:17:52 +03:00
ApiUploadTest.php Rename ApiTestCaseUpload 2018-03-16 18:40:38 +01:00
ApiUploadTestCase.php Drop deprecated EnableAPI and EnableWriteAPI settings 2018-04-18 00:30:34 +00:00
ApiUsageExceptionTest.php
ApiUserrightsTest.php Test ApiUserrights 2018-04-12 21:26:02 +03:00
ApiWatchTest.php Get rid of ApiTestCase::doLogin 2018-04-11 20:17:52 +03:00
generateRandomImages.php Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
MockApi.php
MockApiQueryBase.php
PrefixUniquenessTest.php
RandomImageGenerator.php Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
UserWrapper.php
words.txt