protected function AesTests::writeSettings in AES encryption 8.2
Aes module needs to set the active directory in the setting.php file in order to be installed. Set it here.
Overrides FunctionalTestSetupTrait::writeSettings
File
- src/
Tests/ AesTests.php, line 35
Class
- AesTests
- Test encryption/decryption
Namespace
Drupal\aes\TestsCode
protected function writeSettings(array $settings) {
$settings['config_directories'][CONFIG_ACTIVE_DIRECTORY] = (object) array(
'value' => $this->privateFilesDirectory . '/aes',
'required' => TRUE,
);
parent::writeSettings($settings);
}