Fixed bug #16931: [Caching framework] APC backend test setRemovesTagsFromPreviousSet...
authorChristian Kuhn <lolli@schwarzbu.ch>
Thu, 6 Jan 2011 17:08:10 +0000 (17:08 +0000)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 6 Jan 2011 17:08:10 +0000 (17:08 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@9997 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
tests/t3lib/cache/backend/t3lib_cache_backend_apcbackendTest.php

index 8dc46d4..0bed625 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2011-01-06  Chrisstian Kuhn  <lolli@schwarzbu.ch>
+
+       * Fixed bug #16931: [Caching framework] APC backend test setRemovesTagsFromPreviousSet() fails
+
 2011-01-06  Steffen Kamper  <steffen@typo3.org>
 
        * Fixed bug #16918: Edit Permissions Link in List View does not work (Thanks to Sebastian Michaelsen)
index bb2ae94..4e5cb0d 100644 (file)
@@ -146,10 +146,10 @@ class t3lib_cache_backend_ApcBackendTest extends tx_phpunit_testcase {
 
                $data = 'Some data';
                $identifier = uniqid('MyIdentifier');
-               $backend->set($identifier, $data, array('UnitTestTag%tag1', 'UnitTestTag%tag2'));
+               $backend->set($identifier, $data, array('UnitTestTag%tag1', 'UnitTestTag%tagX'));
                $backend->set($identifier, $data, array('UnitTestTag%tag3'));
 
-               $retrieved = $backend->findIdentifiersByTag('UnitTestTag%tag2');
+               $retrieved = $backend->findIdentifiersByTag('UnitTestTag%tagX');
                $this->assertEquals(array(), $retrieved, 'Found entry which should no longer exist.');
        }