[TASK] Rename cache t3lib_l10n to l10n
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Tests / Unit / Utility / GeneralUtilityTest.php
index 22f691b..525ade9 100644 (file)
@@ -2395,11 +2395,11 @@ class GeneralUtilityTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
                $file = PATH_site . 'typo3temp/' . $unique . '.xml';
                Utility\GeneralUtility::writeFileToTypo3tempDir($file, $xml);
                // Make sure there is no cached version of the label
-               $GLOBALS['typo3CacheManager']->getCache('t3lib_l10n')->flush();
+               $GLOBALS['typo3CacheManager']->getCache('l10n')->flush();
                // Get default value
                $defaultLL = Utility\GeneralUtility::readLLfile('EXT:lang/locallang_core.xlf', 'default');
                // Clear language cache again
-               $GLOBALS['typo3CacheManager']->getCache('t3lib_l10n')->flush();
+               $GLOBALS['typo3CacheManager']->getCache('l10n')->flush();
                // Set override file
                $GLOBALS['TYPO3_CONF_VARS']['SYS']['locallangXMLOverride']['EXT:lang/locallang_core.xlf'][$unique] = $file;
                /** @var $store \TYPO3\CMS\Core\Localization\LanguageStore */