function ClearTest::setUp

Same name in other branches
  1. 9 core/modules/system/tests/src/Functional/Cache/ClearTest.php \Drupal\Tests\system\Functional\Cache\ClearTest::setUp()
  2. 8.9.x core/modules/system/tests/src/Functional/Cache/ClearTest.php \Drupal\Tests\system\Functional\Cache\ClearTest::setUp()
  3. 11.x core/modules/system/tests/src/Functional/Cache/ClearTest.php \Drupal\Tests\system\Functional\Cache\ClearTest::setUp()

Overrides BrowserTestBase::setUp

File

core/modules/system/tests/src/Functional/Cache/ClearTest.php, line 24

Class

ClearTest
Tests our clearing is done the proper way.

Namespace

Drupal\Tests\system\Functional\Cache

Code

protected function setUp() : void {
    $this->defaultBin = 'render';
    $this->defaultValue = $this->randomMachineName(10);
    parent::setUp();
}

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