wiki.techinc.nl/tests/phpunit/includes/parser
Thiemo Kreuz 61ae7504df Replace trivial usa of mock builder with createMock() shortcut
createMock() does the same, but is much easier to read.

A small difference is that some of the replacements made in this
patch didn't use disableOriginalConstructor() before. In case this
was relevant we should see the respective test fail. If not we can
save some CPU cycles and skip these constructors.

Change-Id: Ib98fb06e0fe753b7a53cb087a47e1159515a8ad5
2022-07-15 16:43:48 +00:00
..
CacheTimeTest.php Tests: remove unneeded tearDown functions 2021-07-27 13:15:40 +00:00
CoreParserFunctionsTest.php phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00
LinkHolderArrayIntegrationTest.php Strict return types for PageIdentity 2021-01-18 17:33:14 +01:00
MagicVariableTest.php tests: Use Title::makeTitle instead of Title::newFromText 2022-07-06 00:44:00 +02:00
PageBundleJsonTraitTest.php Introduce PageBundleJsonTrait for serialization 2022-05-23 17:54:48 +01:00
ParserCacheSerializationTestCases.php Clarify generate-html and make ParserOutput behave as expected 2022-05-03 11:23:08 +02:00
ParserCacheTest.php Replace deprecated calls ParserOptions::newCanonical( 'canonical' ) 2022-06-16 14:22:24 +01:00
ParserMethodsTest.php Replace trivial usa of mock builder with createMock() shortcut 2022-07-15 16:43:48 +00:00
ParserOptionsTest.php tests: Set wgLang with MediaWikiIntegrationTestCase::setUserLang 2022-07-13 00:59:46 +02:00
ParserOutputTest.php Clarify generate-html and make ParserOutput behave as expected 2022-05-03 11:23:08 +02:00
ParserPreloadTest.php tests: Use Title::makeTitle instead of Title::newFromText 2022-07-06 00:44:00 +02:00
ParserTest.php Tests: Cleanup some unnecessary nested function calls 2022-06-06 01:02:34 +01:00
PreprocessorTest.php Replace trivial usa of mock builder with createMock() shortcut 2022-07-15 16:43:48 +00:00
RevisionOutputCacheTest.php Replace deprecated calls ParserOptions::newCanonical( 'canonical' ) 2022-06-16 14:22:24 +01:00
SanitizerTest.php Hard deprecate Sanitizer::removeHTMLtags() 2022-03-07 22:04:56 -05:00
StripStateTest.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
TagHooksTest.php tests: Use Title::makeTitle instead of Title::newFromText 2022-07-06 00:44:00 +02:00
validateParserCacheSerializationTestData.php Hard-deprecate all public property access on CacheTime and ParserOutput. 2021-10-13 13:27:16 -04:00