/** * Make sure warnings end up as errors. * * @return void * @author Karsten Dambekalns <*****@*****.**> */ public function runBare() { \PHPUnit_Framework_Error_Warning::$enabled = FALSE; parent::runBare(); }
/** * Injects an untainted clone of the object manager and all its referencing * objects for every test. * * @return void */ public function runBare() { $objectManager = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Extbase\\Object\\ObjectManager'); $this->objectManager = clone $objectManager; parent::runBare(); }