public function MemcacheTestCase::testCacheBin in Memcache API and Integration 7
Test that memcache is configured correctly.
File
- tests/
memcache.test, line 144 - Test cases for the memcache cache backend.
Class
- MemcacheTestCase
- @file Test cases for the memcache cache backend.
Code
public function testCacheBin() {
if ($this->default_bin) {
// Confirm that the default cache bin is handled by memcache.
$this
->assertEqual(get_class(_cache_get_object($this->default_bin)), 'MemCacheDrupal', t('Memcache caching is configured correctly.'));
}
}