function CacheSavingCase::testNoEmptyCids
Test no empty cids are written in cache table.
File
-
modules/
simpletest/ tests/ cache.test, line 166
Class
Code
function testNoEmptyCids() {
$this->drupalGet('user/register');
$this->assertFalse(cache_get(''), 'No cache entry is written with an empty cid.');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.