protected function tearDown() { $this->subject->setResetAutoIncrementThreshold(1); $this->subject->cleanUp(); $this->subject->purgeHooks(); $this->deleteForeignFile(); $this->deleteForeignFolder(); $GLOBALS['TYPO3_CONF_VARS']['EXTCONF'] = $this->extConfBackup; $GLOBALS['T3_VAR']['getUserObj'] = $this->t3VarBackup; }