mediawiki-extensions-Echo/tests
Daimona Eaytoy ef50bfeda5 Make Title and Revision caches proper services
Singletons are bad, amongst other reasons, because they're never reset
in tests. They can therefore occasionally cause test failures if the
cached data stored in one of these singletons becomes stale.

As noted on the task, ideally these two classes shouldn't exist at all,
and core should be responsible for caching the information it deems
expensive to compute.

As a temporary (TM) workaround, make both classes actual services, so
that the setUp/tearDown logic in MediaWikiIntegrationTestCase can
properly reset them between tests.

Dependencies are intentionally not being injected, precisely because
these classes should just be deleted, not improved.

Bug: T344124
Change-Id: I58b8d9610f9447468235b94d25732528ab6acce6
2023-08-14 17:41:23 +02:00
..
phpunit Make Title and Revision caches proper services 2023-08-14 17:41:23 +02:00
qunit Finish updating echo tests to use new MobileFrontend icon class 2023-08-04 13:41:17 -05:00
selenium selenium: run tests concurrently 2023-06-29 15:30:28 +02:00
bootstrap.php build: Updating mediawiki/mediawiki-codesniffer to 0.9.0 2017-06-22 14:13:28 +00:00
echo.suite.xml Directory reshuffle, add dev tools 2014-08-01 22:38:41 +00:00