[BUGFIX] Fix incomplete mocking in ExtensionManagementUtilityTest
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Classes / Utility / ExtensionManagementUtility.php
index cfde262..d88cade 100644 (file)
@@ -1576,16 +1576,16 @@ tt_content.' . $key . $prefix . ' {
                if ($allowCaching) {
                        $cacheIdentifier = static::getBaseTcaCacheIdentifier();
                        /** @var $codeCache \TYPO3\CMS\Core\Cache\Frontend\PhpFrontend */
-                       $codeCache = self::getCacheManager()->getCache('cache_core');
+                       $codeCache = static::getCacheManager()->getCache('cache_core');
                        if ($codeCache->has($cacheIdentifier)) {
                                // substr is necessary, because the php frontend wraps php code around the cache value
                                $GLOBALS['TCA'] = unserialize(substr($codeCache->get($cacheIdentifier), 6, -2));
                        } else {
-                               self::buildBaseTcaFromSingleFiles();
-                               self::createBaseTcaCacheFile();
+                               static::buildBaseTcaFromSingleFiles();
+                               static::createBaseTcaCacheFile();
                        }
                } else {
-                       self::buildBaseTcaFromSingleFiles();
+                       static::buildBaseTcaFromSingleFiles();
                }
        }