mediawiki-extensions-Cite/tests
vladshapik 71c4bd1f98 Adjust Parser related tests to DeprecationHelper
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
2021-08-17 14:14:55 +00:00
..
parser Sync up with Parsoid citeParserTests.txt 2021-07-30 11:14:38 -04:00
phpunit Adjust Parser related tests to DeprecationHelper 2021-08-17 14:14:55 +00:00
selenium selenium: Update wdio-mediawiki 2021-06-09 15:03:58 +02:00