function GenericCacheBackendUnitTestBase::setUp

Overrides KernelTestBase::setUp

File

core/tests/Drupal/KernelTests/Core/Cache/GenericCacheBackendUnitTestBase.php, line 107

Class

GenericCacheBackendUnitTestBase
Tests any cache backend.

Namespace

Drupal\KernelTests\Core\Cache

Code

protected function setUp() {
  $this->cachebackends = [];
  $this->defaultValue = $this->randomMachineName(10);
  parent::setUp();
  $this->setUpCacheBackend();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.