Tests can't call resetGlobalServices()
authorAryeh Gregor <ayg@aryeh.name>
Thu, 9 Aug 2018 14:17:46 +0000 (17:17 +0300)
committerAryeh Gregor <ayg@aryeh.name>
Thu, 9 Aug 2018 14:53:14 +0000 (17:53 +0300)
commit75d0941e7dccc344c5e916f43e37b583bb2767b3
tree86090c52f89107d1aa8dcd2e5a5c157a384bbca2
parente314d4025f5b6136fb34dcbff6dc69edda09cc41
Tests can't call resetGlobalServices()

They are supposed to call overrideMwServices() instead, per
documentation.  One test does call resetGlobalServices(), probably by
mistake.  It can be private so other tests won't make the same mistake.

Change-Id: I11ed598fcc901d0d9951724f2d210d3a7a1482d2
tests/phpunit/MediaWikiTestCase.php
tests/phpunit/includes/RevisionDbTestBase.php