Commit aedb6b69 authored by justinrandell's avatar justinrandell

make the test config directory prefixes match up

parent 00e4f785
......@@ -1351,7 +1351,7 @@ protected function setUp() {
// 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));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment