wiki.techinc.nl/tests/phpunit/mocks
Timo Tijhof 4e40bcdd8f PoolCounter: Adopt PSR logger in PoolCounter objects
* Inject from ServiceWiring via PoolCounterFactory.

* In production we use PoolCounterClient (which is backed by
  our poolcounterd service), we also offer PoolCounterRedis for
  third parties. Replace the local logger in the Redis variant in
  favour of the built-in one.

* Update PoolCounterWork to adopt this as well. Expose it via getter
  to here, so that DI works all the way, including for the existing
  test.

Bug: T358901
Change-Id: I5413825a0172b186d58e85bbc3cc93697b174c27
2024-03-02 00:41:11 +00:00
..
content tests: Handle dynamic created properties on test classes 2023-01-13 21:03:42 +00:00
filebackend
filerepo
json JsonCodec: fix en/decoding of nested objects and stdClass objects 2023-01-12 14:12:32 -05:00
languages language: Move cache version of language converter into cache key 2023-05-26 08:32:23 +00:00
media
permissions Namespace Message, move to appropriate directory 2024-02-14 15:10:36 -05:00
poolcounter PoolCounter: Adopt PSR logger in PoolCounter objects 2024-03-02 00:41:11 +00:00
search tests: Use namespaced classes 2023-12-11 15:59:55 +01:00
session tests: Add Tests to PHP namespacing 2024-02-16 19:10:11 +00:00
BrokenClass.php HookContainer: allow registering broken callables. 2023-08-22 16:30:44 +00:00
DummyServicesTrait.php Namespace includes/cache 2024-02-20 10:28:03 -05:00
FakeQqxMessageLocalizer.php Namespace Message, move to appropriate directory 2024-02-14 15:10:36 -05:00
GhostFieldTestClass.php tests: Move Wikimedia tests into Wikimedia\Tests 2024-02-17 02:09:08 +00:00
MockBlockTrait.php Add clearUserCache to mock BlockManager 2023-11-20 12:34:34 +11:00
MockChangesListFilter.php Replace usages of deprecated MWException 2023-06-06 17:05:32 +02:00
MockChangesListFilterGroup.php Migrate to IConnectionProvider methods in more places 2023-10-05 19:51:20 +02:00
MockDatabase.php Add MockDatabase class 2023-11-16 12:24:48 +11:00
MockEnvironment.php Namespace includes/context 2024-02-08 11:07:01 -05:00
MockHttpTrait.php Reorg: Move Status to MediaWiki\Status\ 2023-08-25 15:44:17 +02:00
MockMessageLocalizer.php
MockServiceDependenciesTrait.php Fix some typos 2023-03-21 15:58:09 +01:00
MockTitleTrait.php Add missing hasContentModel to MockTitleTrait 2023-10-20 18:30:29 +02:00
NullGuzzleClient.php
NullHttpRequestFactory.php
NullMultiHttpClient.php
TestLocalisationCache.php phpunit: Replace ad-hoc array in TestLocalisationCache with MapCacheLRU 2023-07-24 17:52:31 +00:00
TestLogger.php