Add some missing parent::tearDown()
authorumherirrender <umherirrender_de.wp@web.de>
Mon, 31 Dec 2012 12:54:06 +0000 (13:54 +0100)
committerumherirrender <umherirrender_de.wp@web.de>
Mon, 31 Dec 2012 12:54:06 +0000 (13:54 +0100)
Change-Id: Ibcdf5d440043cef25b4aa9fb08b61ec4a2c558d1

tests/phpunit/includes/search/SearchEngineTest.php
tests/phpunit/includes/upload/UploadTest.php
tests/phpunit/suites/UploadFromUrlTestSuite.php

index 511166a..7339fb8 100644 (file)
@@ -31,6 +31,8 @@ class SearchEngineTest extends MediaWikiLangTestCase {
 
        protected function tearDown() {
                unset( $this->search );
+
+               parent::tearDown();
        }
 
        function pageExists( $title ) {
index d757734..34c57aa 100644 (file)
@@ -20,6 +20,8 @@ class UploadTest extends MediaWikiTestCase {
        protected function tearDown() {
                global $wgHooks;
                $wgHooks = $this->hooks;
+
+               parent::tearDown();
        }
 
 
index 843aaf9..366d8f2 100644 (file)
@@ -88,6 +88,8 @@ class UploadFromUrlTestSuite extends PHPUnit_Framework_TestSuite {
                FileBackendGroup::destroySingleton();
 
                $this->teardownUploadDir( $this->uploadDir );
+
+               parent::tearDown();
        }
 
        private $uploadDir;