Skip to content
Snippets Groups Projects
Verified Commit b229acf9 authored by Alberto Paderno's avatar Alberto Paderno
Browse files

Issue #3464106: testClearArray() sets a value that Drupal core nor the DrupalApcCache class uses

parent c0fbb0a8
No related branches found
No related tags found
1 merge request!37Issue #3464106: testClearArray() sets a value that Drupal core nor the DrupalApcCache class uses
Pipeline #235264 passed
......@@ -348,10 +348,6 @@ class ApcCacheClearCase extends ApcCacheTestCase {
$this->assertNoCacheItem($bin, 'test_cid_clear2');
$this->assertCacheItem($bin, 'test_cid_clear3', $value3);
// Set the cache clear threshold to 2 to confirm that the full bin is
// cleared when the threshold is exceeded.
variable_set('cache_clear_threshold', 2);
cache_set('test_cid_clear1', $value1, $bin);
cache_set('test_cid_clear2', $value2, $bin);
$this->assertCacheItem($bin, 'test_cid_clear1', $value1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment