From de2cdf3fc5bef8be4897d827321f27670dbe09f4 Mon Sep 17 00:00:00 2001 From: Platonides Date: Tue, 14 Jun 2011 21:21:26 +0000 Subject: [PATCH] Thou shall call parent::tearDown(), MediaWikiLangTestCase child. Follow up r87210. This has been hurting my tests for weeks. Made TimeAdjustTest extend MediaWikiLangTestCase. --- tests/phpunit/includes/SampleTest.php | 1 + tests/phpunit/includes/TimeAdjustTest.php | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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 @@