[BUGFIX] Fix the unit tests to work with PHPUnit 3.6
[Packages/TYPO3.CMS.git] / tests / t3lib / utility / t3lib_utility_mailTest.php
index 2f6ca2c..041d125 100644 (file)
@@ -51,6 +51,7 @@ class t3lib_utility_mailTest extends tx_phpunit_testcase {
        }
 
        public function tearDown() {
+               t3lib_div::purgeInstances();
                $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS'] = $this->scOptionsBackup;
                $GLOBALS['T3_VAR']['callUserFunction'] = $this->callUserFunctionBackup;
        }