wiki.techinc.nl/tests/phpunit/includes/api
Aryeh Gregor 18ec468633 Don't pass Config to service constructors
We don't want to depend on the entire site configuration when we only
need a few specific settings.

This change additionally means that these services no longer see a live
version of the settings, but rather a copy. This means in tests you
really do have to call overrideMwServices() if you want services to pick
up your config changes.

ResourceLoader and SearchEngineConfig will need more work to port,
because they expose their member Config in a getter, and the getter is
actually used.

Parser and NamespaceInfo are also relatively complicated, so I split
them into separate patches.

Tested with 100% code coverage. \o/

Depends-On: If6534b18f6657ec1aba7327463f2661037f995b3
Change-Id: I1a3f358e8659b49de4502dc8216ecb6f35f4e02a
2019-05-02 11:33:56 +03:00
..
format Don't silently fail if API result fails to encode 2018-12-05 13:28:33 -05:00
query Default $wgActorTableSchemaMigrationStage to SCHEMA_COMPAT_NEW 2019-05-01 00:48:54 +00:00
ApiBaseTest.php API: Handle Messages in errorArrayToStatus() 2019-03-01 09:53:01 -05:00
ApiBlockTest.php Remove reliance on Block properties being public 2019-03-22 21:17:22 +00:00
ApiCheckTokenTest.php
ApiClearHasMsgTest.php
ApiComparePagesTest.php Ensure calls to Title::getArticleID use the same case as the definition 2019-02-06 22:15:05 +00:00
ApiContinuationManagerTest.php
ApiDeleteTest.php Normalize use of "INNER JOIN" to "JOIN" in database queries 2019-03-06 09:17:30 -08:00
ApiDisabledTest.php
ApiEditPageTest.php Normalize use of "INNER JOIN" to "JOIN" in database queries 2019-03-06 09:17:30 -08:00
ApiErrorFormatterTest.php Add some missing @covers tags 2019-02-02 21:53:40 -08:00
ApiLoginTest.php
ApiLogoutTest.php ApiLogout: Follow up Icb674095 2019-04-25 10:00:24 -04:00
ApiMainTest.php API: Add exception class as data to internal_api_error codes 2018-11-26 13:42:07 -05:00
ApiMessageTest.php API: Validate API error codes 2018-11-26 18:41:08 +00:00
ApiModuleManagerTest.php
ApiMoveTest.php Fully utilize LinkTarget passed to getRevisionByTitle 2019-04-02 21:25:45 +00:00
ApiOpenSearchTest.php
ApiOptionsTest.php
ApiPageSetTest.php
ApiParseTest.php Don't pass Config to service constructors 2019-05-02 11:33:56 +03:00
ApiPurgeTest.php
ApiQueryAllPagesTest.php
ApiQueryBlocksTest.php Prevent fatal PHP errors when PageRestriction::getTitle() returns null. 2019-02-07 10:06:15 -05:00
ApiQueryDisabledTest.php
ApiQueryInfoTest.php
ApiQueryPrefixSearchTest.php
ApiQueryRecentChangesIntegrationTest.php Update MediaWikiTitleCodec to use NamespaceInfo 2019-04-14 14:55:58 +03:00
ApiQuerySearchTest.php
ApiQuerySiteinfoTest.php Remove all $wgParser use from core 2019-04-17 15:16:50 +03:00
ApiQueryUserInfoTest.php
ApiQueryWatchlistIntegrationTest.php Update MediaWikiTitleCodec to use NamespaceInfo 2019-04-14 14:55:58 +03:00
ApiQueryWatchlistRawIntegrationTest.php
ApiResultTest.php
ApiRevisionDeleteTest.php
ApiSetNotificationTimestampIntegrationTest.php
ApiStashEditTest.php Refactor edit stashing into a PageEditStash service 2019-04-17 12:53:03 -07:00
ApiTestCase.php Drop AuthPlugin and related code, deprecated in 1.27 2019-03-05 08:23:14 +00:00
ApiTestCaseUpload.php
ApiTestContext.php
ApiTokensTest.php
ApiUnblockTest.php Normalize use of "INNER JOIN" to "JOIN" in database queries 2019-03-06 09:17:30 -08:00
ApiUploadTest.php
ApiUploadTestCase.php
ApiUsageExceptionTest.php
ApiUserrightsTest.php Normalize use of "INNER JOIN" to "JOIN" in database queries 2019-03-06 09:17:30 -08:00
ApiWatchTest.php
generateRandomImages.php
MockApi.php
MockApiQueryBase.php
RandomImageGenerator.php Convert RandomImageGenerator to use the new execution framework 2019-01-21 22:33:02 -08:00
UserWrapper.php
words.txt