protected function FileStorageReadOnlyTest::setUp in Drupal 9
Same name and namespace in other branches
- 8 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 34 
Class
- FileStorageReadOnlyTest
- @coversDefaultClass \Drupal\Component\PhpStorage\FileReadOnlyStorage
Namespace
Drupal\Tests\Component\PhpStorageCode
protected function setUp() : void {
  parent::setUp();
  $this->standardSettings = [
    'directory' => $this->directory,
    'bin' => 'test',
  ];
  $this->readonlyStorage = [
    'directory' => $this->directory,
    // Let this read from the bin where the other instance is writing.
    'bin' => 'test',
  ];
}