mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-24 06:54:00 +00:00
71c4bd1f98
There is the patch(I4297aea3489bb66c98c664da2332584c27793bfa) which will add DeprecationHelper trait to Parser class in order to deprecate public Parser::mUser. DeprecationHelper trait has appropriate magic methods which help to use dynamic properties. In order not to mock them via createMock(), so getMockBuilder() and onlyMethods() was used. onlyMethods() method helps to specify methods which need to be mocked. Now we can use dynamic properties in Parser related tests of Cite extension. Bug: T285713 Change-Id: Ie75c9cd66d296ce7cf15432e2093817e18004443 |
||
---|---|---|
.. | ||
AnchorFormatterTest.php | ||
CiteDataModuleTest.php | ||
CiteHooksUnitTest.php | ||
CiteParserHooksTest.php | ||
CiteParserTagHooksTest.php | ||
CiteUnitTest.php | ||
ErrorReporterTest.php | ||
FootnoteMarkFormatterTest.php | ||
ReferenceMessageLocalizerUnitTest.php | ||
ReferencesFormatterTest.php | ||
ReferenceStackTest.php |