fixed bug 37458: permission errors running BaseDumpTest on Windows
authorTobias Gritschacher <tobias.gritschacher@wikimedia.de>
Mon, 18 Jun 2012 13:11:04 +0000 (15:11 +0200)
committerTobias Gritschacher <tobias.gritschacher@wikimedia.de>
Mon, 18 Jun 2012 16:20:14 +0000 (18:20 +0200)
patch set 2: removed trailing whitespace;

Change-Id: I58264c5f516f8dcb124d753b43a80b0875b0e974

tests/phpunit/maintenance/backupPrefetchTest.php

index 87d7156..33168c0 100644 (file)
@@ -17,11 +17,11 @@ class BaseDumpTest extends MediaWikiTestCase {
        private $dump = null;
 
        protected function tearDown() {
-               parent::tearDown();
-
                if ( $this->dump !== null ) {
                        $this->dump->close();
                }
+
+               parent::tearDown();
        }
 
        /**