You are here

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

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

Test clearing using wildcard prefix, with cache lifetime.

File

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

Class

MemCacheClearCase
Test cache clearing methods.

Code

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