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