wiki.techinc.nl/tests/phpunit/includes/api
MusikAnimal 6a898faed2 Add watchlist expiry support to applicable APIs
This introduces an ApiWatchlistTrait that refactors out common code
across APIs that allow you to watch pages. Some methods have been
migrated from ApiBase and changed completely, but codesearch suggests
they aren't being used outside the API modules in this patch.

Bug: T248512
Bug: T248514
Change-Id: Ia18627b9824dca81f44f0571e8420d89b7626cf6
2020-07-13 18:18:15 -04:00
..
format MediaWikiTestCase to MediaWikiIntegrationTestCase 2020-06-30 17:02:22 +01:00
query MediaWikiTestCase to MediaWikiIntegrationTestCase 2020-06-30 17:02:22 +01:00
Validator WatchedItemStore: Enforce a maximum watchlist expiry duration 2020-05-22 00:15:23 -04:00
ApiBaseTest.php Replace all call_user_func(_array) in all tests 2020-06-06 18:41:20 +02:00
ApiBlockInfoTraitTest.php MediaWikiTestCase to MediaWikiIntegrationTestCase 2020-06-30 17:02:22 +01:00
ApiBlockTest.php Remove $wgEnablePartialBlocks config and always enable partial blocks 2020-03-04 13:45:44 +00:00
ApiChangeContentModelTest.php Add @author tags I forgot to include 2020-04-11 08:13:48 +00:00
ApiCheckTokenTest.php
ApiClearHasMsgTest.php Use new TalkPageNotificationManager 2020-05-15 12:35:45 -04:00
ApiComparePagesTest.php Replace uses of Revision constants 2020-07-03 01:23:44 +00:00
ApiContinuationManagerTest.php MediaWikiTestCase to MediaWikiIntegrationTestCase 2020-06-30 17:02:22 +01:00
ApiCSPReportTest.php Fix visibility of setUp/tearDown 2020-06-16 21:02:05 +02:00
ApiDeleteTest.php Add watchlist expiry support to applicable APIs 2020-07-13 18:18:15 -04:00
ApiDisabledTest.php
ApiEditPageTest.php Add watchlist expiry support to applicable APIs 2020-07-13 18:18:15 -04:00
ApiErrorFormatterTest.php
ApiLoginTest.php Fix visibility of setUp/tearDown 2020-06-16 21:02:05 +02:00
ApiLogoutTest.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
ApiMainTest.php Introduce UserOptionsManager and DefaultOptionsManager 2020-04-28 15:42:43 -07:00
ApiMessageTest.php MediaWikiTestCase to MediaWikiIntegrationTestCase 2020-06-30 17:02:22 +01:00
ApiModuleManagerTest.php MediaWikiTestCase to MediaWikiIntegrationTestCase 2020-06-30 17:02:22 +01:00
ApiMoveTest.php Add watchlist expiry support to applicable APIs 2020-07-13 18:18:15 -04:00
ApiOpenSearchTest.php MediaWikiTestCase to MediaWikiIntegrationTestCase 2020-06-30 17:02:22 +01:00
ApiOptionsTest.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
ApiPageSetTest.php PageUpdater: set DeprecatablePropertyArray to hard deprecate Revision 2020-06-30 15:59:57 +00:00
ApiParseTest.php Replace uses of Revision constants 2020-07-03 01:23:44 +00:00
ApiProtectTest.php Add watchlist expiry support to applicable APIs 2020-07-13 18:18:15 -04:00
ApiPurgeTest.php Make use of PHPUnit's assertCount feature where possible 2020-03-02 15:58:41 +00:00
ApiQueryAllPagesTest.php
ApiQueryBlockInfoTraitTest.php MediaWikiTestCase to MediaWikiIntegrationTestCase 2020-06-30 17:02:22 +01:00
ApiQueryBlocksTest.php Add MediaWikiIntegrationTestCase::assertArraySubmapSame() 2020-03-19 15:53:59 -07:00
ApiQueryDisabledTest.php
ApiQueryInfoTest.php Autofix 94 PHPUnit 8 compat issues 2019-12-13 15:29:10 +01:00
ApiQueryLanguageinfoTest.php Make use of PHPUnit's assertCount feature where possible 2020-03-02 15:58:41 +00:00
ApiQueryPrefixSearchTest.php Fix visibility of setUp/tearDown 2020-06-16 21:02:05 +02:00
ApiQueryRecentChangesIntegrationTest.php Replace uses and hard deprecate Revision::newFromTitle 2020-04-18 04:47:10 +00:00
ApiQuerySearchTest.php Fix visibility of setUp/tearDown 2020-06-16 21:02:05 +02:00
ApiQuerySiteinfoTest.php ExtensionRegistry: Remove exporting and caching of wgExtensionCredits 2020-05-28 18:46:41 +00:00
ApiQueryWatchlistIntegrationTest.php Replace uses and hard deprecate Revision::newFromTitle 2020-04-18 04:47:10 +00:00
ApiQueryWatchlistRawIntegrationTest.php Make use of PHPUnit's assertCount feature where possible 2020-03-02 15:58:41 +00:00
ApiResultTest.php MediaWikiTestCase to MediaWikiIntegrationTestCase 2020-06-30 17:02:22 +01:00
ApiRevisionDeleteTest.php Hard deprecate the rest of the Revision class 2020-07-02 09:02:02 +00:00
ApiRollbackTest.php Add watchlist expiry support to applicable APIs 2020-07-13 18:18:15 -04:00
ApiSetNotificationTimestampIntegrationTest.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
ApiStashEditTest.php Fix visibility of setUp/tearDown 2020-06-16 21:02:05 +02:00
ApiTestCase.php Hard deprecate ApiTestCase::doLogin 2020-02-15 02:31:33 +00:00
ApiTestContext.php
ApiTokensTest.php
ApiUnblockTest.php Fix visibility of setUp/tearDown 2020-06-16 21:02:05 +02:00
ApiUndeleteTest.php Add watchlist expiry support to applicable APIs 2020-07-13 18:18:15 -04:00
ApiUploadTest.php Add watchlist expiry support to applicable APIs 2020-07-13 18:18:15 -04:00
ApiUploadTestCase.php Use MediaWikiServices::getRepoGroup in api related classes 2020-04-11 23:58:00 +00:00
ApiUsageExceptionTest.php MediaWikiTestCase to MediaWikiIntegrationTestCase 2020-06-30 17:02:22 +01:00
ApiUserrightsTest.php Use nullable type in function signature 2019-11-20 19:20:38 +01:00
ApiWatchTest.php WatchedItemStore: Enforce a maximum watchlist expiry duration 2020-05-22 00:15:23 -04:00
generateRandomImages.php Use class keyword for classname resolution 2020-03-27 09:33:01 +01:00
MockApi.php
MockApiQueryBase.php Replace some oldskool @see with @inheritDoc 2019-11-08 18:00:27 +00:00
RandomImageGenerator.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
UserWrapper.php
words.txt