You are here

protected function FileStorageReadOnlyTest::setUp in Zircon Profile 8

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

Overrides PhpStorageTestBase::setUp

File

core/tests/Drupal/Tests/Component/PhpStorage/FileStorageReadOnlyTest.php, line 38
Contains \Drupal\Tests\Component\PhpStorage\FileStorageReadOnlyTest.

Class

FileStorageReadOnlyTest
@coversDefaultClass \Drupal\Component\PhpStorage\FileReadOnlyStorage

Namespace

Drupal\Tests\Component\PhpStorage

Code

protected function setUp() {
  parent::setUp();
  $this->standardSettings = array(
    'directory' => $this->directory,
    'bin' => 'test',
  );
  $this->readonlyStorage = array(
    'directory' => $this->directory,
    // Let this read from the bin where the other instance is writing.
    'bin' => 'test',
  );
}