/** * @test */ public function loadExtTablesDoesNotReadFromCacheIfCachingIsDenied() { $GLOBALS['typo3CacheManager'] = $this->getMock('TYPO3\\CMS\\Core\\Cache\\CacheManager', array('getCache')); $GLOBALS['typo3CacheManager']->expects($this->never())->method('getCache'); \TYPO3\CMS\Core\Extension\ExtensionManager::loadExtLocalconf(FALSE); }
/** * Load extension configuration files (ext_localconf.php) * * The ext_localconf.php files in extensions are meant to make changes * to the global $TYPO3_CONF_VARS configuration array. * * @param boolean $allowCaching * @return \TYPO3\CMS\Core\Core\Bootstrap */ public function loadAdditionalConfigurationFromExtensions($allowCaching = TRUE) { \TYPO3\CMS\Core\Extension\ExtensionManager::loadExtLocalconf($allowCaching); return $this; }