wiki.techinc.nl/tests/phpunit/integration/includes/Rest/Handler
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
..
CreationHandlerTest.php Allow REST API handlers to require csrf-safe session providers 2022-05-20 16:52:54 +00:00
HTMLHandlerTestTrait.php ParsoidOutputStash: make storage backend configurable. 2022-06-14 14:11:37 +01:00
LanguageLinksHandlerTest.php Eliminate use of Title object in REST infrastructure 2021-05-05 18:54:58 -07:00
MediaFileHandlerTest.php Make MovePageTest actually test valid moves 2021-07-28 09:18:59 -07:00
MediaLinksHandlerTest.php tests: Use service container in integration tests cases 2021-09-05 22:14:36 +01:00
PageContentHelperTest.php Use new namespace for revision related classes 2022-04-14 23:03:43 +02:00
PageHTMLHandlerTest.php PHPUnit: introduce setMainCache 2022-07-07 16:25:59 +10:00
PageSourceHandlerTest.php Eliminate use of Title object in REST infrastructure 2021-05-05 18:54:58 -07:00
ParsoidHTMLHelperTest.php Move knowledge about HTTP status out of ParsoidOutputAccess 2022-06-28 12:30:44 +02:00
ParsoidOutputAccessTest.php Protect against passing unsupported content models to Parsoid. 2022-06-30 14:54:42 +00:00
RevisionContentHelperTest.php Use new namespace for revision related classes 2022-04-14 23:03:43 +02:00
RevisionHTMLHandlerTest.php PHPUnit: introduce setMainCache 2022-07-07 16:25:59 +10:00
RevisionSourceHandlerTest.php Promote experimental revision rest endpoints to official 2022-04-13 11:30:53 -05:00
UpdateHandlerTest.php Allow REST API handlers to require csrf-safe session providers 2022-05-20 16:52:54 +00:00