Commit aee6c9e5 authored by Florent Torregrosa's avatar Florent Torregrosa Committed by Joachim Noreiko
Browse files

Issue #3146855 by Project Update Bot, Grimreaper: Automated Drupal 9 compatibility fixes.

parent e519faae
Loading
Loading
Loading
Loading
+16 −8
Original line number Diff line number Diff line
@@ -2,6 +2,14 @@

namespace Drupal\Tests\config_devel\Unit;

use Drupal\Core\Config\StorageInterface;
use Drupal\Core\ProxyClass\Lock\PersistentDatabaseLockBackend;
use Drupal\Core\Config\TypedConfigManagerInterface;
use Drupal\Core\Extension\ModuleHandlerInterface;
use Drupal\Core\ProxyClass\Extension\ModuleInstaller;
use Drupal\Core\Extension\ThemeHandlerInterface;
use Drupal\Core\StringTranslation\TranslationManager;
use Drupal\Core\Extension\ModuleExtensionList;
use org\bovigo\vfs\vfsStream;
use Drupal\Component\Serialization\Yaml;

@@ -40,16 +48,16 @@ class ConfigImporterExporterTest extends ConfigDevelTestBase {

    $configDevelSubscriber = new ConfigImporterExporter(
      $this->configFactory,
      $this->prophesize(\Drupal\Core\Config\StorageInterface::class)->reveal(),
      $this->prophesize(StorageInterface::class)->reveal(),
      $this->configManager,
      $this->eventDispatcher,
      $this->prophesize(\Drupal\Core\ProxyClass\Lock\PersistentDatabaseLockBackend::class)->reveal(),
      $this->prophesize(\Drupal\Core\Config\TypedConfigManagerInterface::class)->reveal(),
      $this->prophesize(\Drupal\Core\Extension\ModuleHandlerInterface::class)->reveal(),
      $this->prophesize(\Drupal\Core\ProxyClass\Extension\ModuleInstaller::class)->reveal(),
      $this->prophesize(\Drupal\Core\Extension\ThemeHandlerInterface::class)->reveal(),
      $this->prophesize(\Drupal\Core\StringTranslation\TranslationManager::class)->reveal(),
      $this->prophesize(\Drupal\Core\Extension\ModuleExtensionList::class)->reveal()
      $this->prophesize(PersistentDatabaseLockBackend::class)->reveal(),
      $this->prophesize(TypedConfigManagerInterface::class)->reveal(),
      $this->prophesize(ModuleHandlerInterface::class)->reveal(),
      $this->prophesize(ModuleInstaller::class)->reveal(),
      $this->prophesize(ThemeHandlerInterface::class)->reveal(),
      $this->prophesize(TranslationManager::class)->reveal(),
      $this->prophesize(ModuleExtensionList::class)->reveal()
    );

    $configDevelSubscriber->writeBackConfig($config, $file_names);