make the test config directory prefixes match up

8.0.x
justinrandell 2012-02-12 02:26:06 -05:00
parent 00e4f78537
commit aedb6b6921
1 changed files with 1 additions and 1 deletions

View File

@ -1351,7 +1351,7 @@ class DrupalWebTestCase extends DrupalTestCase {
// Create and set a new configuration directory and signature key.
// The child site automatically adjusts the global $config_directory_name to
// a test-prefix-specific directory within the public files directory.
$GLOBALS['config_directory_name'] = 'simpletest/config_' . substr($this->databasePrefix, 10);
$GLOBALS['config_directory_name'] = 'simpletest/config_' . $this->databasePrefix;
$this->configFileDirectory = $this->originalFileDirectory . '/' . $GLOBALS['config_directory_name'];
file_prepare_directory($this->configFileDirectory, FILE_CREATE_DIRECTORY | FILE_MODIFY_PERMISSIONS);
$GLOBALS['config_signature_key'] = drupal_hash_base64(drupal_random_bytes(55));