You are here

public function MemCacheClearCase::testClearCidLifetime in Memcache API and Integration 7

Same name in this branch
  1. 7 tests/memcache.test \MemCacheClearCase::testClearCidLifetime()
  2. 7 tests/memcache6.test \MemCacheClearCase::testClearCidLifetime()
Same name and namespace in other branches
  1. 6 tests/memcache.test \MemCacheClearCase::testClearCidLifetime()

Test clearing the cache with a cid, with cache lifetime.

File

tests/memcache.test, line 451
Test cases for the memcache cache backend.

Class

MemCacheClearCase
Test cache clearing methods.

Code

public function testClearCidLifetime() {
  variable_set('cache_lifetime', 6000);
  $this
    ->clearCidTest();
}