wiki.techinc.nl/tests/phpunit/integration/includes
daniel bf092744c9 PHPUnit: introduce setMainCache
The main object cache is disabled during testing. Some integration tests
need it though. This provides a clean way to enable it, to replace the hacks
that were used so far.

Note that we may want to enable the main cache during testing soon. When
that happens, this method is still useful to disable the cache in certain
tests, and to set a specific cache instance.

Change-Id: I04ae1bf1b6b2c8f6310acd2edf89459d01a9c870
2022-07-07 16:25:59 +10:00
..
block Fix visibility of setUp methods in tests 2022-05-17 14:11:22 +02:00
cache tests: Use namespaced IDatabase class 2022-05-28 00:09:55 +02:00
CommentFormatter Use injection for LinksMigration on LinkBatch, action, api, special page 2022-05-10 20:19:58 +00:00
db rdbms: Add multi-statement query support to Database 2022-06-09 11:45:38 +10:00
diff Add $wgDiffEngine 2019-11-05 10:38:52 -05:00
editpage/Constraint Improve error messages in EditFilterMergedContentHookConstraint 2022-03-22 14:53:02 +01:00
export Fix PHP 8.0 failure of WikiExporterFactoryTest 2022-01-21 15:20:57 +11:00
filerepo filerepo: remove repo name from getSharedCacheKey() 2020-11-16 17:28:31 -08:00
htmlform Use more specific assertions in HTMLTitleTextField test 2022-04-23 22:10:26 +02:00
language Make SpecialPageAliasTest more strict 2022-05-13 18:06:00 +02:00
libs tests: Use namespaced IDatabase class 2022-05-28 00:09:55 +02:00
logging Convert LogPage to UserIdentity 2021-03-23 12:02:40 -06:00
page tests: Use WikiPageFactory to create WikiPage object 2022-06-26 23:21:02 +02:00
parser Move Content::getParserOutput & AbstractContent::fillParserOutput to ContentHandler 2021-09-29 13:10:51 +03:00
Permissions PHPUnit: introduce setMainCache 2022-07-07 16:25:59 +10:00
poolcounter phpunit: Mass-replace setMethods with onlyMethods and adjust 2021-04-16 20:15:00 +02:00
Rest/Handler PHPUnit: introduce setMainCache 2022-07-07 16:25:59 +10:00
revisionlist tests: Use service container in integration tests cases 2021-09-05 22:14:36 +01:00
search phpunit: Add tests for SearchSuggestionSet::fromTitles() 2022-05-06 01:39:28 +01:00
Storage tests: Use WikiPageFactory to create WikiPage object 2022-06-26 23:21:02 +02:00
user Docs: remove references to DefaultSettings.php 2022-05-30 21:27:09 +02:00
utils Use the unserialized form of image metadata internally 2021-06-08 17:04:01 +10:00
watchlist Fix core newtalk 304 suppression and update deferral 2022-03-18 16:52:12 +11:00
SanitizerValidateEmailTest.php Cleanup some tests to reduce code duplications 2020-12-21 10:08:29 +00:00
StubGlobalUserTest.php Remove or replace usages of "sanity" 2021-11-21 16:42:31 +00:00
StubObjectTest.php StubObject: add magic __get() and __set() 2021-09-04 05:37:25 +00:00
TemplateParserIntegrationTest.php Tests: Cleanup some unnecessary nested function calls 2022-06-06 01:02:34 +01:00