wiki.techinc.nl/tests/phpunit/unit/includes/Rest
Daimona Eaytoy 4877132223 phpunit: Don't redefine methods in traits
The signatures of these methods will change in PHPUnit 9, and in
general, having these methods means additional code to maintain. Since
this is test code, any attempt to use these traits from a class which
doesn't have the required methods will fail hard, and as such, there's
no reason to have these methods at all.

Also, MockServiceDependenciesTrait was redeclaring fail() as a
non-static method, but it is actually static in the parent class, which
makes tests fail on PHP 8.

Bug: T243600
Change-Id: I78bf1bdd2eb2e09aed27d1b6bff2302e28600703
2021-03-23 12:59:34 +00:00
..
BasicAccess Introduce CompoundAuthorizer to pass multiple authorizers 2020-09-22 00:25:38 +00:00
Handler phpunit: Don't redefine methods in traits 2021-03-23 12:59:34 +00:00
HeaderParser tests: Remove @param docs from test code that just repeat the signature 2021-01-21 03:41:23 +00:00
PathTemplateMatcher
Validator build: Update mediawiki/mediawiki-codesniffer to 35.0.0 2021-01-31 13:34:38 +00:00
ConditionalHeaderUtilTest.php Conditional request support 2019-10-14 12:01:25 +11:00
CorsUtilsTest.php tests: Remove @param docs from test code that just repeat the signature 2021-01-21 03:41:23 +00:00
HeaderContainerTest.php
ResponseFactoryTest.php MediaWiki\Rest\HttpException: Support 3xx codes and wrapped Response 2020-09-11 14:52:54 -04:00
RouterTest.php Add missing @param and @return to documentation in tests 2021-01-22 19:57:25 +01:00
StringStreamTest.php Cleanup of old PHPUnit usage, part 3 2019-10-05 00:00:45 -07:00
testAdditionalRoutes.json Add config variable $wgRestAPIAdditionalRouteFiles 2020-03-23 10:22:58 -05:00
testRoutes.json MediaWiki\Rest\HttpException: Support 3xx codes and wrapped Response 2020-09-11 14:52:54 -04:00