1 cache.test CacheSavingCase::testNoEmptyCids()

Test no empty cids are written in cache table.

File

core/modules/simpletest/tests/cache.test, line 148

Class

CacheSavingCase

Code

function testNoEmptyCids() {
  $this->backdropGet('user/register');
  $this->assertFalse(cache()->get(''), 'No cache entry is written with an empty cid.');
}