Unverified Commit 42b761c3 authored by alexpott's avatar alexpott
Browse files

Issue #3114195 by longwave: Remove deprecated configDirectories property from...

Issue #3114195 by longwave: Remove deprecated configDirectories property from FunctionalTestSetupTrait
parent d1c44dd0
......@@ -46,16 +46,6 @@ trait FunctionalTestSetupTrait {
*/
protected $classLoader;
/**
* The config directories used in this test.
*
* @deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use
* \Drupal\Core\Site\Settings::get('config_sync_directory') instead.
*
* @see https://www.drupal.org/node/3018145
*/
protected $configDirectories = [];
/**
* The flag to set 'apcu_ensure_unique_prefix' setting.
*
......@@ -301,7 +291,6 @@ protected function doInstall() {
*/
protected function initSettings() {
Settings::initialize(DRUPAL_ROOT, $this->siteDirectory, $this->classLoader);
$this->configDirectories['sync'] = Settings::get('config_sync_directory');
// After writing settings.php, the installer removes write permissions
// from the site directory. To allow drupal_generate_test_ua() to write
......
......@@ -171,7 +171,6 @@ protected function setUp() {
$request = Request::createFromGlobals();
$class_loader = require $this->container->get('app.root') . '/autoload.php';
Settings::initialize($this->container->get('app.root'), DrupalKernel::findSitePath($request), $class_loader);
$this->configDirectories['sync'] = Settings::get('config_sync_directory');
// After writing settings.php, the installer removes write permissions
// from the site directory. To allow drupal_generate_test_ua() to write
......
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