wiki.techinc.nl/tests/phpunit/mocks
Lucas Werkmeister f406c5872e Allow more calls in MockHttpTrait
Don’t fail the test immediately when createMultiClient() or
createGuzzleClient() is called – instead, return service instances that
will fail the test as soon as any method is called on them. This is a
bit friendlier for dependency injection.

Bug: T272998
Change-Id: I79f90ef028867920f6a228991eda59ed4aeadb62
2021-01-27 11:51:28 +01:00
..
content Fix some PSR12.Properties.ConstantVisibility.NotFound in tests/phpunit/ 2020-05-09 23:55:09 +00:00
filebackend tests: Use standard utilities for temporary file names 2019-05-06 17:21:45 +00:00
filerepo tests: Use standard utilities for temporary file names 2019-05-06 17:21:45 +00:00
json Safe ParserOutput extension data and JsonUnserializable helper. 2020-11-10 11:21:09 -07:00
languages Remove LanguageConverter dependencies on Title and use LinkTarget 2020-02-12 18:37:11 +03:00
media Remove terminating line breaks from debug messages 2020-06-03 12:01:16 +10:00
permissions Make vast majority of RevisionRecord tests unit. 2021-01-22 19:04:58 +00:00
poolcounter Fast stale ParserCache responses 2020-06-05 16:24:22 +10:00
search Fix broken PHPDoc comments that don't start with /** 2020-07-23 16:09:41 +00:00
session Fix some PSR12.Properties.ConstantVisibility.NotFound in tests/phpunit/ 2020-05-09 23:55:09 +00:00
GhostFieldTestClass.php Forward-compat for merging CacheTime and ParserOutput mOptions 2020-11-10 07:09:41 -07:00
MockChangesListFilter.php
MockChangesListFilterGroup.php
MockHttpTrait.php Allow more calls in MockHttpTrait 2021-01-27 11:51:28 +01:00
MockMessageLocalizer.php Use varargs for MessageLocalizer::msg and similar 2019-10-05 17:47:49 +00:00
MockTitleTrait.php Make vast majority of RevisionRecord tests unit. 2021-01-22 19:04:58 +00:00
MockWebRequest.php
NullHttpRequestFactory.php PHPUnit tests: prevent real Guzzle requests from tests. 2020-10-26 23:03:36 +01:00
NullMultiHttpClient.php Include URLs when clocking HTTP requests. 2020-10-15 14:19:05 -07:00