コード例 #1
0
 /**
  * Make sure warnings end up as errors.
  *
  * @return void
  * @author Karsten Dambekalns <*****@*****.**>
  */
 public function runBare()
 {
     \PHPUnit_Framework_Error_Warning::$enabled = FALSE;
     parent::runBare();
 }
コード例 #2
0
 /**
  * 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();
 }