wiki.techinc.nl/tests/phpunit/includes/api
Brad Jorsch 382450573d ApiErrorFormatter_BackCompat: Use first error, not last
Before Iae0e2ce3b, the only place in the API that had to deal with
choosing from multiple errors was ApiBase::dieStatus(), which chose the
first one in the Status object. Iae0e2ce3b changed this to choose the
last one instead, which is an unnecessary backwards compatibility break.

While we could make the change in ApiBase::dieStatus(), it's cleaner to
change ApiErrorFormatter_BackCompat's behavior instead since it seems
unlikely anything else was using that code path.

Bug: T155268
Change-Id: Ia06527f8480c3d4a689792ceb8671b0d399ffbe3
2017-01-17 11:00:55 -05:00
..
format API: i18n for warnings and errors 2016-12-06 10:20:48 -05:00
query Fix tests that don't check composer's autoloader 2016-12-22 10:46:11 +00:00
ApiBaseTest.php Add the concept of "system blocks" 2016-12-16 12:30:03 -05:00
ApiBlockTest.php Block API: Allow blocking/unblocking by user's ID 2016-12-13 18:16:24 +05:30
ApiContinuationManagerTest.php API: i18n for warnings and errors 2016-12-06 10:20:48 -05:00
ApiEditPageTest.php API: i18n for warnings and errors 2016-12-06 10:20:48 -05:00
ApiErrorFormatterTest.php ApiErrorFormatter_BackCompat: Use first error, not last 2017-01-17 11:00:55 -05:00
ApiLoginTest.php Merge "API: Remove deprecated response values from action=login" 2016-10-11 16:27:54 +00:00
ApiMainTest.php Fix tests that don't check composer's autoloader 2016-12-22 10:46:11 +00:00
ApiMessageTest.php API: i18n for warnings and errors 2016-12-06 10:20:48 -05:00
ApiModuleManagerTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiOpenSearchTest.php Remove unused imports from test classes 2017-01-10 11:49:58 +01:00
ApiOptionsTest.php API: i18n for warnings and errors 2016-12-06 10:20:48 -05:00
ApiPageSetTest.php API: Warn when input parameters are normalized 2016-08-29 15:00:45 +00:00
ApiParseTest.php API: i18n for warnings and errors 2016-12-06 10:20:48 -05:00
ApiPurgeTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiQueryAllPagesTest.php Replace WikiPage::doEdit() usages 2016-09-15 21:25:32 +01:00
ApiQueryWatchlistIntegrationTest.php API: i18n for warnings and errors 2016-12-06 10:20:48 -05:00
ApiQueryWatchlistRawIntegrationTest.php API: i18n for warnings and errors 2016-12-06 10:20:48 -05:00
ApiResultTest.php Remove empty lines at end of functions 2016-11-05 11:55:10 +01:00
ApiRevisionDeleteTest.php Fix RevDel API output for formatversion=2 2016-12-19 11:48:49 -05:00
ApiSetNotificationTimestampIntegrationTest.php Add ApiSetNotificationTimestampIntegrationTest 2016-05-18 12:08:47 +01:00
ApiStashEditTest.php test: basic test for ApiStashEdit 2016-06-16 22:26:24 +02:00
ApiTestCase.php API: i18n for warnings and errors 2016-12-06 10:20:48 -05:00
ApiTestCaseUpload.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiTestContext.php Fixed some @params documentation (tests) 2014-04-17 20:43:42 +02:00
ApiTokensTest.php Make deprecated TestUser properties private 2016-06-22 15:43:54 +00:00
ApiUnblockTest.php API: i18n for warnings and errors 2016-12-06 10:20:48 -05:00
ApiUploadTest.php API: i18n for warnings and errors 2016-12-06 10:20:48 -05:00
ApiWatchTest.php Remove empty lines from PHP and JavaScript comment blocks 2016-12-09 09:01:06 +00:00
generateRandomImages.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
MockApi.php API: i18n for warnings and errors 2016-12-06 10:20:48 -05:00
MockApiQueryBase.php API: i18n for warnings and errors 2016-12-06 10:20:48 -05:00
PrefixUniquenessTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
RandomImageGenerator.php Clean up array() syntax in docs, part VII 2016-09-27 06:53:25 +03:30
UserWrapper.php Fix numerous class/function casing 2016-03-18 23:14:49 +00:00
words.txt Add words.txt for us Windows users. This is a random selection of 1000 words from gnuwin32 miscfiles package 2011-07-15 17:13:24 +00:00