[BUGFIX] Fix warning in file backend unit tests
authorSteffen Gebert <steffen.gebert@typo3.org>
Fri, 24 Jun 2011 22:05:01 +0000 (00:05 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Fri, 24 Jun 2011 22:22:31 +0000 (00:22 +0200)
Change-Id: Ib38f602723826340a5c3afd0a9f79cc9aa1dae66
Resolves: #27692
Reviewed-on: http://review.typo3.org/2923
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
tests/t3lib/cache/backend/class.t3lib_cache_backend_filebackendTest.php

index 995a98c..878254f 100644 (file)
@@ -326,7 +326,7 @@ class t3lib_cache_backend_FileBackendTest extends tx_phpunit_testcase {
                $mockCache = $this->getMock('t3lib_cache_frontend_AbstractFrontend', array(), array(), '', FALSE);
                $mockCache->expects($this->atLeastOnce())->method('getIdentifier')->will($this->returnValue('UnitTestCache'));
 
-               $backend = $this->getMock('t3lib_cache_backend_FileBackend', array('dummy'), array(), '', TRUE);
+               $backend = $this->getMock('t3lib_cache_backend_FileBackend', array('dummy'), array('test'), '', TRUE);
                $backend->setCacheDirectory('vfs://Foo/');
                $backend->setCache($mockCache);