Overrides \Drupal\Tests\UnitTestCase::setUp()
Overrides PhpStorageTestBase::setUp
function setUp() {
global $conf;
parent::setUp();
$dir_path = sys_get_temp_dir() . '/php';
$conf['php_storage']['simpletest'] = array(
'class' => 'Drupal\\Component\\PhpStorage\\FileStorage',
'directory' => $dir_path,
);
$conf['php_storage']['readonly'] = array(
'class' => 'Drupal\\Component\\PhpStorage\\FileReadOnlyStorage',
'directory' => $dir_path,
// Let this read from the bin where the other instance is writing.
'bin' => 'simpletest',
);
}