[BUGFIX] Unit tests call parent::tearDown()
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Tests / Unit / Http / UploadedFileTest.php
index a5c32c1..bf5794b 100644 (file)
@@ -23,13 +23,13 @@ use TYPO3\CMS\Core\Utility\GeneralUtility;
  *
  * Adapted from https://github.com/phly/http/
  */
-class UploadedFileTest extends \TYPO3\CMS\Core\Tests\UnitTestCase
+class UploadedFileTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     protected $tmpFile;
 
     protected function setUp()
     {
-        $this->tmpfile = null;
+        $this->tmpFile = null;
     }
 
     protected function tearDown()
@@ -37,6 +37,7 @@ class UploadedFileTest extends \TYPO3\CMS\Core\Tests\UnitTestCase
         if (is_scalar($this->tmpFile) && file_exists($this->tmpFile)) {
             unlink($this->tmpFile);
         }
+        parent::tearDown();
     }
 
     /**