mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-12 01:01:29 +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 |
||
---|---|---|
.. | ||
unit | ||
CiteCSSFileModuleTest.php | ||
CiteDbTest.php | ||
CiteHooksTest.php | ||
CiteIntegrationTest.php | ||
ReferenceMessageLocalizerTest.php |