wiki.techinc.nl/tests/phpunit/includes/api
daniel e4b775acf1 Suppress addCoreDBData() in tests overriding the revision schema.
Some unit tests for the MCR schema migration change the DB schema
in the test setup. However, addCoreDBData() will not work with the
modified schema. Since these tests don't actually need addCoreDBData()
to do anything, they can simply override it to do nothing.

Without this change, tests for Ic2221da30c and Ifabf39e12ba843
fail with $wgMultiContentRevisionSchemaMigrationStage = MIGRATION_WRITE_BOTH.

Change-Id: I86e140ec981dfa4e904822b1600399c533f9e3d6
2018-06-14 07:41:28 +00:00
..
format Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
query Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
ApiBaseTest.php Suppress addCoreDBData() in tests overriding the revision schema. 2018-06-14 07:41:28 +00:00
ApiBlockTest.php Get rid of ApiTestCase::doLogin 2018-04-11 20:17:52 +03:00
ApiCheckTokenTest.php Add tests for ApiCheckToken 2018-01-01 02:06:59 +02:00
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 Call Database::timestamp in some tests 2018-05-29 22:28:36 +02:00
ApiErrorFormatterTest.php Update suppressWarning()/restoreWarning() calls 2018-02-10 08:50:12 +00:00
ApiLoginTest.php Improve test coverage for ApiLogin.php 2018-03-21 19:57:27 +02:00
ApiMainTest.php Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
ApiMessageTest.php Switch to librarized version of TestingAccessWrapper 2017-04-20 14:15:57 +00:00
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 Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01: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
ApiQueryWatchlistIntegrationTest.php Get rid of ApiTestCase::doLogin 2018-04-11 20:17:52 +03:00
ApiQueryWatchlistRawIntegrationTest.php Get rid of ApiTestCase::doLogin 2018-04-11 20:17:52 +03: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 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 Merge "Test ApiUserrights" 2018-04-12 19:54:51 +00:00
ApiTestCaseUpload.php Drop deprecated EnableAPI and EnableWriteAPI settings 2018-04-18 00:30:34 +00: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 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 Add @covers tags API tests without them 2017-12-27 17:50:06 +00:00
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 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 Use PHP 5.6 '**' operator instead of 'pow()' function 2018-05-30 18:05:19 -07:00
UserWrapper.php Fix numerous class/function casing 2016-03-18 23:14:49 +00:00
words.txt