[BUGFIX] Wrong usage of class CacheManager
authorSteffen Gebert <steffen.gebert@typo3.org>
Tue, 28 Aug 2012 10:02:37 +0000 (12:02 +0200)
committerSteffen Gebert <steffen.gebert@typo3.org>
Tue, 28 Aug 2012 10:04:06 +0000 (12:04 +0200)
CacheManager is used as Cache_manager

Change-Id: I018df92d0ccbb0d736f797c8ba1e69df36c0c8b4
Resolves: #40318
Related: #40095
Releases: 6.0
Reviewed-on: http://review.typo3.org/14148
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
typo3/sysext/extensionmanager/Tests/Unit/Utility/InstallUtilityTest.php

index b120661..5eb08bb 100644 (file)
@@ -114,7 +114,7 @@ class InstallUtilityTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
        public function installCallsFlushCachesIfClearCacheOnLoadIsSet() {
                $this->installMock->expects($this->once())->method('enrichExtensionWithDetails')->with($this->extension)->will($this->returnValue(array('key' => $this->extension, 'clearcacheonload' => TRUE)));
                $backupCacheManager = $GLOBALS['typo3CacheManager'];
-               $GLOBALS['typo3CacheManager'] = $this->getMock('TYPO3\\CMS\\Core\\Cache\\Cache_manager');
+               $GLOBALS['typo3CacheManager'] = $this->getMock('TYPO3\\CMS\\Core\\Cache\\CacheManager');
                $GLOBALS['typo3CacheManager']->expects($this->once())->method('flushCaches');
                $this->installMock->install($this->extension);
                $GLOBALS['typo3CacheManager'] = $backupCacheManager;