From: umherirrender Date: Mon, 31 Dec 2012 12:54:06 +0000 (+0100) Subject: Add some missing parent::tearDown() X-Git-Tag: 1.31.0-rc.0~21188 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/operations/recherche.php?a=commitdiff_plain;h=ad6a30f045c0481d19b1b1992a7e1f79272aca1c;p=lhc%2Fweb%2Fwiklou.git Add some missing parent::tearDown() Change-Id: Ibcdf5d440043cef25b4aa9fb08b61ec4a2c558d1 --- diff --git a/tests/phpunit/includes/search/SearchEngineTest.php b/tests/phpunit/includes/search/SearchEngineTest.php index 511166a38a..7339fb84b8 100644 --- a/tests/phpunit/includes/search/SearchEngineTest.php +++ b/tests/phpunit/includes/search/SearchEngineTest.php @@ -31,6 +31,8 @@ class SearchEngineTest extends MediaWikiLangTestCase { protected function tearDown() { unset( $this->search ); + + parent::tearDown(); } function pageExists( $title ) { diff --git a/tests/phpunit/includes/upload/UploadTest.php b/tests/phpunit/includes/upload/UploadTest.php index d75773467a..34c57aaf81 100644 --- a/tests/phpunit/includes/upload/UploadTest.php +++ b/tests/phpunit/includes/upload/UploadTest.php @@ -20,6 +20,8 @@ class UploadTest extends MediaWikiTestCase { protected function tearDown() { global $wgHooks; $wgHooks = $this->hooks; + + parent::tearDown(); } diff --git a/tests/phpunit/suites/UploadFromUrlTestSuite.php b/tests/phpunit/suites/UploadFromUrlTestSuite.php index 843aaf9f84..366d8f29d7 100644 --- a/tests/phpunit/suites/UploadFromUrlTestSuite.php +++ b/tests/phpunit/suites/UploadFromUrlTestSuite.php @@ -88,6 +88,8 @@ class UploadFromUrlTestSuite extends PHPUnit_Framework_TestSuite { FileBackendGroup::destroySingleton(); $this->teardownUploadDir( $this->uploadDir ); + + parent::tearDown(); } private $uploadDir;