From: Platonides Date: Tue, 14 Jun 2011 21:21:26 +0000 (+0000) Subject: Thou shall call parent::tearDown(), MediaWikiLangTestCase child. X-Git-Tag: 1.31.0-rc.0~29532 X-Git-Url: http://git.cyclocoop.org/%22.%28%24lien.?a=commitdiff_plain;h=de2cdf3fc5bef8be4897d827321f27670dbe09f4;p=lhc%2Fweb%2Fwiklou.git Thou shall call parent::tearDown(), MediaWikiLangTestCase child. Follow up r87210. This has been hurting my tests for weeks. Made TimeAdjustTest extend MediaWikiLangTestCase. --- diff --git a/tests/phpunit/includes/SampleTest.php b/tests/phpunit/includes/SampleTest.php index fc7881aa27..047bc26a9f 100644 --- a/tests/phpunit/includes/SampleTest.php +++ b/tests/phpunit/includes/SampleTest.php @@ -15,6 +15,7 @@ class TestSample extends MediaWikiLangTestCase { * Anything cleanup you need to do should go here. */ function tearDown() { + parent::tearDown(); } /** diff --git a/tests/phpunit/includes/TimeAdjustTest.php b/tests/phpunit/includes/TimeAdjustTest.php index 9065e7c81d..3116c19d8e 100644 --- a/tests/phpunit/includes/TimeAdjustTest.php +++ b/tests/phpunit/includes/TimeAdjustTest.php @@ -1,6 +1,6 @@