Ensure disabled deprecation warnings are re-enabled before next test
authorC. Scott Ananian <cscott@cscott.net>
Fri, 21 Sep 2018 15:20:36 +0000 (11:20 -0400)
committerGergő Tisza <gtisza@wikimedia.org>
Tue, 25 Sep 2018 16:30:38 +0000 (16:30 +0000)
commit8025629395cc13bc8f6682c007ca51a5d962d7d2
treeab036f2d08d4a8b6a4e1fd8e15e59960309ab37a
parent775bcac17220296e5d10d10178139a5884a4c7f2
Ensure disabled deprecation warnings are re-enabled before next test

Tests should not interfere with each other; disabled deprecation
warnings should be disabled for a single test case only.

Bug: T191960
Change-Id: Ic9b892bc83ba6d71c1077df0d93c95dde36988bb
tests/phpunit/MediaWikiTestCase.php
tests/phpunit/includes/debug/DeprecationHelperTest.php