Reset services in ParserTestTopLevelSuite.
authordaniel <daniel.kinzler@wikimedia.de>
Tue, 11 Sep 2018 17:01:08 +0000 (19:01 +0200)
committerdaniel <daniel.kinzler@wikimedia.de>
Wed, 12 Sep 2018 17:51:28 +0000 (19:51 +0200)
commitc472b7ca50a42147f4e32d187c7163e6d62922f9
treef97c5aad44b080f194c63c7e81004eede4b87448
parent3fc713d455df7e008416b622d3cd487418078de6
Reset services in ParserTestTopLevelSuite.

This is intended to isolate parser tests from other tests
by resetting the service locator between test runs, just like
MediaWikiTestCase does.

NOTE: this has no effect on parser tests run via parserTest.php,
it's only for tests run via PHPUnit.

Bug: T204065
Bug: T204072
Change-Id: I772b3b4a2d4d98948a249603b1cdb0933427b01c
tests/phpunit/MediaWikiTestCase.php
tests/phpunit/suites/ParserTestTopLevelSuite.php