1.20.x cache.test CacheSavingCase::testNoEmptyCids()

Test no empty cids are written in cache table.

File

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.');
}