Followup to r90090 -- thou shalt add parent:: calls to both overridden tearDown ...
authorBrion Vibber <brion@users.mediawiki.org>
Wed, 15 Jun 2011 20:51:17 +0000 (20:51 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Wed, 15 Jun 2011 20:51:17 +0000 (20:51 +0000)
Had been resulting in fatal errors when running TimeAdjustTest, due to trying to use an old $wgContLang value that had never gotten saved properly because the parent class setUp() was not called.

tests/phpunit/includes/TimeAdjustTest.php

index 3116c19..cd027c5 100644 (file)
@@ -4,6 +4,7 @@ class TimeAdjustTest extends MediaWikiLangTestCase {
        static $offset;
 
        public function setUp() {
+               parent::setUp();
                global $wgLocalTZoffset;
                self::$offset = $wgLocalTZoffset;