wiki.techinc.nl/tests/phpunit/includes
Daimona Eaytoy f83e611efa Make MediaWikiIntegrationTestCase::addCoreDBData a noop
The method should never be called directly, so make it throw an exception.
Nonetheless, mark it as deprecated and detect overrides in the
constructor, so that anyone who tries to override this method will see a
warning.

Fix the few tests that were relying on the existence of the test page.

Bug: T342428
Depends-On: Ic64ded5e2c0b59e7c888ece9566076058a125be4
Change-Id: I308617427309815062d54c14f3438cab31b08a73
2023-09-05 00:36:36 +00:00
..
actions Widen @covers annotations in RollbackActionTest 2023-09-03 00:25:46 +00:00
api Widen @covers annotations in tests ApiQueryInfoTest 2023-09-03 00:24:40 +00:00
auth Reorg: Move Status to MediaWiki\Status\ 2023-08-25 15:44:17 +02:00
block Fix composite block start time 2023-08-28 13:04:31 -03:00
cache BacklinkCacheTest: Fix test case to avoid slowness 2023-08-10 14:22:22 +01:00
changes Reorg: Move MWTimestamp to MediaWiki\Utils 2023-08-19 05:53:40 +02:00
changetags Simplify WHERE conditions with field IS NULL 2023-07-24 19:22:36 +02:00
collation tests: Make some PHPUnit data providers static 2023-05-20 01:05:27 +02:00
config config: Widen @covers annotations in unit tests 2023-07-24 05:33:30 +01:00
content Merge "ContentHandler: Hard-deprecate getSlotDiffRendererInternal" 2023-08-31 13:03:17 +00:00
db rdbms: Rename CP::yieldSessionPrimaryPos to ::getSessionPrimaryPos 2023-08-30 18:53:43 +00:00
debug tests: Change expectDeprecation to expectDeprecationAndContinue 2023-07-18 16:35:43 +00:00
deferred deferred: Restore MWCallableUpdate integration @covers 2023-08-24 01:20:17 +01:00
diff Include $wgWikidiff2Options in the diff cache key 2023-08-23 10:00:47 +10:00
editpage editpage: Fix use of includeonly for preload of page in mw namespace 2023-07-07 19:01:59 +02:00
exception Fix DB usage in non-database tests (part 2) 2023-08-06 22:57:28 +00:00
externalstore Fix DB usage in non-database tests (part 2) 2023-08-06 22:57:28 +00:00
filebackend Reorg: Move Status to MediaWiki\Status\ 2023-08-25 15:44:17 +02:00
filerepo Merge "rdbms: Drop old class aliases" 2023-08-29 10:47:27 +00:00
GlobalFunctions Resolve GlobalFunctions phpunit filename deprecation errors 2023-07-01 09:30:42 +00:00
HookContainer Remove the $replace parameter from HookContainer::scopedRegister. 2023-06-14 11:00:54 +00:00
htmlform Reorg: Move Status to MediaWiki\Status\ 2023-08-25 15:44:17 +02:00
http http: Propagate tracestate and traceparent headers 2023-08-07 21:04:19 +00:00
import WikiImporter: Improve error message output 2023-07-09 22:48:55 +00:00
installer
interwiki interwiki: Switch ClassicInterwikiLookup to use ICP 2023-08-24 13:28:19 +02:00
jobqueue JobQueue: Drop getWiki(), deprecated in 1.33 2023-08-24 20:53:17 +00:00
language Remove ak from core 2023-08-21 18:46:33 -07:00
languages Add tests for date formatting in Walloon (wa) 2023-08-04 16:45:32 +02:00
libs objectcache: Reduce boilerplate and indirection around makeKey() 2023-08-03 10:42:56 +02:00
linkeddata Avoid DB access in non-database tests 2023-08-06 22:57:48 +00:00
linker Fix DB usage in non-database tests (part 2) 2023-08-06 22:57:28 +00:00
logging tests: Use namespaced Wikimedia\Rdbms\IDatabase 2023-08-20 15:18:57 +02:00
mail tests: Make some PHPUnit data providers static 2023-05-20 01:05:27 +02:00
media Avoid calling overrideConfigValue() multiple times 2023-07-20 14:59:42 +02:00
Message tests: Make some PHPUnit data providers static 2023-03-24 02:53:57 +00:00
Navigation tests: Change some setMwGlobals to overrideConfigValue 2023-07-17 23:02:32 +02:00
objectcache Avoid DB access in more non-Database tests 2023-08-06 16:07:27 +00:00
page Make MediaWikiIntegrationTestCase::addCoreDBData a noop 2023-09-05 00:36:36 +00:00
pager Reorg: Move MWTimestamp to MediaWiki\Utils 2023-08-19 05:53:40 +02:00
ParamValidator/TypeDef tests: Avoid database usage when possible 2023-07-31 00:46:13 +00:00
parser mark various anonymous functions as static 2023-08-22 19:38:38 +00:00
password Reorg: Move Status to MediaWiki\Status\ 2023-08-25 15:44:17 +02:00
Permissions Drop unused private methods 2023-08-24 13:22:31 +02:00
poolcounter Reorg: Move Status to MediaWiki\Status\ 2023-08-25 15:44:17 +02:00
preferences preferences: Pass ParserFactory to DefaultPreferencesFactory 2023-08-14 17:05:56 +00:00
profiler profiler: Add ProfilingContext class 2023-03-23 00:08:49 +00:00
rcfeed Make some methods static in MediaWikiIntegrationTestCase 2023-08-15 20:53:13 +00:00
registration Simplify HookContainer (v2) 2023-06-06 12:06:23 +02:00
ResourceLoader ResourceLoader: Implement JavaScript source map support 2023-08-28 21:33:28 +01:00
Rest tests: Prevent leaking $_SERVER in RequestFromGlobalsTest 2023-07-19 09:23:52 +02:00
Revision Make MediaWikiIntegrationTestCase::addCoreDBData a noop 2023-09-05 00:36:36 +00:00
search Make the PrefixSearchBackend hook's deprecation non-silent 2023-08-24 21:00:09 +00:00
session Reorg: Move MWTimestamp to MediaWiki\Utils 2023-08-19 05:53:40 +02:00
shell Make Shell::makeScriptCommand use run.php 2023-07-25 01:35:59 +00:00
site site: Migrate DBSiteStore to use ICP 2023-08-24 13:34:35 +02:00
skins skins: Mock clock in SkinTest to fix flaky test 2023-08-15 02:16:01 +01:00
sparql Reorg: Move Status to MediaWiki\Status\ 2023-08-25 15:44:17 +02:00
specialpage Reorg: Move MWTimestamp to MediaWiki\Utils 2023-08-19 05:53:40 +02:00
specials Cleanup SpecialContributions and ContribsPager 2023-08-29 12:39:36 +08:00
Storage Make MediaWikiIntegrationTestCase::addCoreDBData a noop 2023-09-05 00:36:36 +00:00
title Inject extension namespaces into NamespaceInfo 2023-07-16 22:53:26 +02:00
upload Merge "UploadBaseTest: Add const for path used for test uploads" 2023-08-08 00:58:38 +00:00
user Add UserGroupManager::getUserPrivilegedGroups() 2023-09-02 11:59:25 +00:00
utils mark various anonymous functions as static 2023-08-22 19:38:38 +00:00
watcheditem Deprecate MediaWikiIntegrationTestCase::$users 2023-07-25 12:12:43 +00:00
AutoLoaderTest.php
CategoryTest.php Category: Widen @covers annotations in unit tests 2023-05-30 15:59:25 +01:00
CommentStoreCommentTest.php
CommentStoreTest.php Remove migration code from CommentStoreBase 2023-08-29 12:37:44 +02:00
CommentStoreTest.sql
ContentSecurityPolicyTest.php ResourceLoader: Remove support for CSP nonce 2023-08-09 02:30:39 +01:00
EditPageConstraintsTest.php tests: Migrate calls to Database::update to UpdateQueryBuilder 2023-07-14 15:40:11 +02:00
EditPageTest.php Reorg: Move Status to MediaWiki\Status\ 2023-08-25 15:44:17 +02:00
ExportTest.php tests: Require existing page in ExportTest 2023-07-29 18:24:27 +00:00
ExtraParserTest.php Just another 80 or so PHPStorm inspection fixes (#4) 2023-03-25 00:39:06 +00:00
FauxRequestTest.php Replace some more usages of deprecated MWException 2023-06-09 02:07:08 +02:00
GitInfoTest.php Reorg: Move GitInfo to utils/ 2023-08-21 18:35:32 +02:00
HooksTest.php HookContainer: avoid instantiation of handlers when calling register() 2023-07-22 16:40:14 +02:00
HtmlTest.php tests: Change some setMwGlobals to overrideConfigValue 2023-07-17 23:02:32 +02:00
LinkerTest.php Hard-deprecate Linker::formatComment/commentBlock/revComment 2023-08-08 01:32:26 +02:00
LinkFilterTest.php ExternalLinks: Make oneWildcard avoid adding wildcard to domain 2023-07-10 18:38:55 +02:00
MediaWikiServicesTest.php Avoid DB access in more non-Database tests 2023-08-06 16:07:27 +00:00
MediaWikiTest.php mark various anonymous functions as static 2023-08-22 19:38:38 +00:00
MediaWikiVersionFetcherTest.php
MergeHistoryTest.php phpunit: Update @covers annotations for namespaced classes 2023-05-27 17:43:12 +08:00
MessageTest.php MWTimestamp,Message: Widen @covers annotations in unit tests 2023-06-03 16:30:15 +01:00
MockServiceWiring.php
MovePageTest.php Migrate assertSelect() to SelectQueryBuilder 2023-06-28 09:03:58 +10:00
MultiHttpClientTest.php Reorg: Move Status to MediaWiki\Status\ 2023-08-25 15:44:17 +02:00
MWTimestampTest.php Reorg: Move MWTimestamp to MediaWiki\Utils 2023-08-19 05:53:40 +02:00
OutputPageTest.php ResourceLoader: Implement JavaScript source map support 2023-08-28 21:33:28 +01:00
SampleTest.php tests: Use Title::makeTitle instead of Title::newFromText 2023-06-19 21:54:57 +02:00
SiteStatsTest.php tests: Use namespaced Wikimedia\Rdbms\IDatabase 2023-08-20 15:18:57 +02:00
StatusTest.php Reorg: Move Status to MediaWiki\Status\ 2023-08-25 15:44:17 +02:00
TemplateCategoriesTest.php phpunit: Update @covers annotations for namespaced classes 2023-05-27 17:43:12 +08:00
TestUser.php Merge "tests: Migrate Database::update usages to UpdateQueryBuilder" 2023-06-08 13:25:06 +00:00
TestUserRegistry.php Remove non-existing password parameter in TestUserRegistry 2023-07-07 10:38:32 +02:00
TimeAdjustTest.php
TitleTest.php Reorg: Move MWTimestamp to MediaWiki\Utils 2023-08-19 05:53:40 +02:00
TitleUrlTest.php phpunit: Update @covers annotations for namespaced classes 2023-05-27 17:43:12 +08:00
TrackingCategoriesTest.php
WebRequestTest.php Reorg: Move ProxyLookup to Request/ 2023-08-06 12:22:58 +02:00
WikiMapTest.php Fix space after comma in single-line array declaration 2023-07-24 19:04:59 +02:00
XmlTest.php [tests] Add a regression test for Xml::input 2023-07-11 18:17:00 +02:00