wiki.techinc.nl/tests/phpunit/includes/api
Umherirrender f338645527 Create FauxRequestUpload to fake uploads in tests
And use it in core
Avoid direct use of super global $_FILES

This can breaks all FauxRequest relaying on $_FILES
in tests or production code via FauxRequest::getUpload.
Falls back to $_FILES for the moment

Bug: T48163
Change-Id: I7392acc9bb682ec6b7025dbed0734c142f45c91a
2021-04-06 23:10:43 +02:00
..
format Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
query Convert WatchedItem et al to PageIdentity 2021-03-26 15:51:19 -04:00
Validator Create FauxRequestUpload to fake uploads in tests 2021-04-06 23:10:43 +02:00
ApiBaseTest.php Tests: Mark more closures as static 2021-02-07 13:26:56 +01:00
ApiBlockInfoTraitTest.php MediaWikiTestCase to MediaWikiIntegrationTestCase 2020-06-30 17:02:22 +01:00
ApiBlockTest.php ApiBlockTest: fake the current time to avoid flaky tests 2021-03-22 17:57:00 +01:00
ApiChangeContentModelTest.php Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
ApiCheckTokenTest.php
ApiClearHasMsgTest.php Use new TalkPageNotificationManager 2020-05-15 12:35:45 -04:00
ApiComparePagesTest.php Tests: Mark more closures as static 2021-02-07 13:26:56 +01:00
ApiContinuationManagerTest.php MediaWikiTestCase to MediaWikiIntegrationTestCase 2020-06-30 17:02:22 +01:00
ApiCSPReportTest.php ApiCSPReportTest: remove unneeded setMwGlobals() 2021-03-24 17:28:43 +00:00
ApiDeleteTest.php Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
ApiDisabledTest.php
ApiEditPageTest.php Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
ApiErrorFormatterTest.php Make ApiErrorFormatterTest more robust. 2021-02-05 16:21:19 -05:00
ApiLoginTest.php Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
ApiLogoutTest.php Swap out uses of User->isLoggedIn() with ->isRegistered() 2020-12-22 03:13:37 +00:00
ApiMainTest.php Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
ApiMessageTest.php Merge "Misc cleanup to api integration tests" 2021-01-21 07:32:08 +00:00
ApiMoveTest.php Deprecate DatabaseBlock methods moved to DatabaseBlockStore 2020-09-13 22:17:27 +00:00
ApiOpenSearchTest.php MediaWikiTestCase to MediaWikiIntegrationTestCase 2020-06-30 17:02:22 +01:00
ApiOptionsTest.php Avoid using User ::getDefaultOption, ::getDefaultOptions 2021-03-16 17:24:17 +02:00
ApiPageSetTest.php Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
ApiParseTest.php Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
ApiProtectTest.php Add watchlist expiry support to applicable APIs 2020-07-13 18:18:15 -04:00
ApiPurgeTest.php API: Clean up ApiPurgeTest 2021-03-13 02:29:09 +00:00
ApiResultTest.php Tests: Mark more closures as static 2021-02-07 13:26:56 +01:00
ApiRevisionDeleteTest.php Deprecate DatabaseBlock methods moved to DatabaseBlockStore 2020-09-13 22:17:27 +00:00
ApiRollbackTest.php Add watchlist expiry support to applicable APIs 2020-07-13 18:18:15 -04:00
ApiSetNotificationTimestampIntegrationTest.php Set tablesUsed to watchlist for some api tests 2021-02-06 19:53:58 +01:00
ApiStashEditTest.php Fix incomplete/bogus PHPDoc tags in various tests 2021-01-14 19:02:00 +00:00
ApiTestCase.php Create FauxRequestUpload to fake uploads in tests 2021-04-06 23:10:43 +02:00
ApiTestContext.php Remove documentation that literally repeats the code 2020-10-27 19:20:26 +00:00
ApiTokensTest.php
ApiUnblockTest.php Deprecate DatabaseBlock methods moved to DatabaseBlockStore 2020-09-13 22:17:27 +00: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 Create FauxRequestUpload to fake uploads in tests 2021-04-06 23:10:43 +02:00
ApiUsageExceptionTest.php Misc cleanup to api integration tests 2021-01-21 06:32:58 +00:00
ApiUserrightsTest.php Add missing @param and @return to documentation in tests 2021-01-22 19:57:25 +01:00
ApiWatchTest.php Convert WatchedItem et al to PageIdentity 2021-03-26 15:51:19 -04:00
generateRandomImages.php Safer autoloading with respect to file-scope code 2021-01-11 11:59:36 +11:00
MockApi.php
MockApiQueryBase.php
RandomImageGenerator.php Update a lot of unspecific "array" types in PHPDocs 2020-10-28 11:01:33 +01:00