addToAssertionCount(1); /** @var \Drupal\Core\Config\StorageInterface $active_config_storage */ $active_config_storage = $this->container->get('config.storage'); /** @var \Drupal\Core\Config\ConfigManagerInterface $config_manager */ $config_manager = $this->container->get('config.manager'); $default_install_path = 'core/profiles/' . $this->profile . '/' . InstallStorage::CONFIG_INSTALL_DIRECTORY; $profile_config_storage = new FileStorage($default_install_path, StorageInterface::DEFAULT_COLLECTION); foreach ($profile_config_storage->listAll() as $config_name) { $result = $config_manager->diff($profile_config_storage, $active_config_storage, $config_name); try { $this->assertConfigDiff($result, $config_name, $skipped_config); } catch (\Exception $e) { $this->fail($e->getMessage()); } } } }