You are here

protected function MTimeProtectedFileStorageBase::setUp in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/tests/Drupal/Tests/Component/PhpStorage/MTimeProtectedFileStorageBase.php \Drupal\Tests\Component\PhpStorage\MTimeProtectedFileStorageBase::setUp()

Overrides PhpStorageTestBase::setUp

File

core/tests/Drupal/Tests/Component/PhpStorage/MTimeProtectedFileStorageBase.php, line 39
Contains \Drupal\Tests\Component\PhpStorage\MTimeProtectedFileStorageBase.

Class

MTimeProtectedFileStorageBase
Base test class for MTime protected storage.

Namespace

Drupal\Tests\Component\PhpStorage

Code

protected function setUp() {
  parent::setUp();
  $this->secret = $this
    ->randomMachineName();
  $this->settings = array(
    'directory' => $this->directory,
    'bin' => 'test',
    'secret' => $this->secret,
  );
}