wiki.techinc.nl/tests/phpunit/mocks
thiemowmde 52963bbcc0 tests: Make use of ?? and ??= operators in test code
I believe the more recent syntax is quite a bit more readable. The
most obvious benefit is that it allows for much less duplication.

Note this patch is intentionally only touching tests, so it can't
have any effect on production code.

Change-Id: Ibdde9e37edf80f0d3bb3cb9056bee5f7df8010ee
2024-08-08 15:51:20 +02:00
..
content tests: Use namespaced classes (2) 2024-06-13 23:21:02 +02:00
filebackend
filerepo tests: Use namespaced classes (2) 2024-06-13 23:21:02 +02:00
json Rename JsonUnserial… to JsonDeserial… 2024-06-12 14:50:58 -04:00
languages
media
permissions Replace some uses of deprecated PermissionManager::getPermissionErrors() 2024-06-27 18:14:28 +00:00
poolcounter PoolCounter: Adopt PSR logger in PoolCounter objects 2024-03-02 00:41:11 +00:00
search tests: Make use of ?? and ??= operators in test code 2024-08-08 15:51:20 +02: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 Deny temp account autocreation when temp accounts are disabled 2024-07-19 16:32:35 +00:00
FakeQqxMessageLocalizer.php tests: Let FakeQqxMessageLocalizer handle numParam() 2024-06-25 17:23:24 +00:00
GhostFieldTestClass.php Serialization test cases: fix filename after ParserOutput namespacing 2024-05-17 17:07:47 -04:00
MockBlockTrait.php Add clearUserCache to mock BlockManager 2023-11-20 12:34:34 +11:00
MockChangesListFilter.php
MockChangesListFilterGroup.php Migrate to IConnectionProvider methods in more places 2023-10-05 19:51:20 +02:00
MockDatabase.php Add namespace to the root classes of ObjectCache 2024-07-10 00:14:54 +03:30
MockEnvironment.php tests: Use namespaced classes (2) 2024-06-13 23:21:02 +02:00
MockHttpTrait.php Make MockHttpTrait::setService() compatible with MediaWikiUnitTestCase 2024-07-29 16:31:41 +02:00
MockMessageLocalizer.php Namespace MessageSpecifier under Wikimedia\Message\ 2024-07-28 14:21:32 +02:00
MockServiceDependenciesTrait.php Remove all @package comments 2024-05-10 13:53:15 +02:00
MockTitleTrait.php tests: Use namespaced classes (2) 2024-06-13 23:21:02 +02:00
NullGuzzleClient.php
NullHttpRequestFactory.php
NullMultiHttpClient.php Add namespace and deprecation alias to MultiHttpClient 2024-05-20 00:32:45 +03:30
TestLocalisationCache.php
TestLogger.php