wiki.techinc.nl/tests/phpunit/mocks
Nikki Nikkhoui f6780de058 Set page id to 0 for pages in virtual namespaces
If we are creating a Mock title, the ID should be set to 0
for any Titles that are in "virtual" namespaces (e.g.
any with a namespace ID < 0, which is Special: or
Media:)

Change-Id: I6aae00ae8f68ad3a93d9edd1194e828735e2a878
2022-03-10 20:12:27 +00:00
..
content Make SlotRecordTest a unit test 2021-10-19 20:31:55 -07: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 Language: Turn public properties into Getters in LanguageConverter based hierarchy 2021-02-03 15:17:42 +02:00
media Remove terminating line breaks from debug messages 2020-06-03 12:01:16 +10:00
permissions DeletePage: add option to delete the associated talk page 2022-01-11 14:48:56 +01:00
poolcounter Fast stale ParserCache responses 2020-06-05 16:24:22 +10:00
search LinkCache: soft deprecate addGoodLinkObj() 2021-09-10 16:00:02 +02:00
session Fix some PSR12.Properties.ConstantVisibility.NotFound in tests/phpunit/ 2020-05-09 23:55:09 +00:00
DummyServicesTrait.php Merge "interwiki: Adjust documentation for InterwikiLookup::getAllPrefixes" 2022-03-09 22:28:04 +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 Support $wgLocalHTTPProxy in MultiHttpClient 2021-11-16 11:13:10 -08:00
MockMessageLocalizer.php Use varargs for MessageLocalizer::msg and similar 2019-10-05 17:47:49 +00:00
MockServiceDependenciesTrait.php phpunit: Don't redefine methods in traits 2021-03-23 12:59:34 +00:00
MockTitleTrait.php Set page id to 0 for pages in virtual namespaces 2022-03-10 20:12:27 +00:00
NullGuzzleClient.php Use mock Guzzle client during tests 2022-01-18 13:14:51 +11:00
NullHttpRequestFactory.php Use mock Guzzle client during tests 2022-01-18 13:14:51 +11:00
NullMultiHttpClient.php Tests: Start marking some closures as static 2021-02-06 19:57:42 +00:00
TestLocalisationCache.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
TestLogger.php Remove unused default values from class properties 2021-05-12 13:44:28 +02:00