wiki.techinc.nl/tests/phpunit/mocks
Máté Szabó 6dd5826402 Make MockHttpTrait::setService() compatible with MediaWikiUnitTestCase
MediaWikiUnitTestCase::setService is defined as (string $name,
$service), which is incompatible with the ($name, $service) signature
MockHttpTrait expects for this method. As a fix, add the type hint to
the trait and MediaWikiIntegrationTestCase as well, to allow using
MockHttpTrait in tests extending MediaWikiUnitTestCase.

Change-Id: Ic7df40469947eff4b2be07d53eb9e09f452a4886
2024-07-29 16:31:41 +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 Remove terminating line breaks from debug messages 2020-06-03 12:01:16 +10:00
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
session tests: Add Tests to PHP namespacing 2024-02-16 19:10:11 +00:00
BrokenClass.php
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
MockChangesListFilter.php
MockChangesListFilterGroup.php
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