Loading core/tests/Drupal/KernelTests/KernelTestBase.php +6 −1 Original line number Diff line number Diff line Loading @@ -700,8 +700,13 @@ protected function installConfig($modules) { if (!$this->container->get('module_handler')->moduleExists($module)) { throw new \LogicException("$module module is not enabled."); } try { $this->container->get('config.installer')->installDefaultConfig('module', $module); } catch (\Exception $e) { throw new \Exception(sprintf('Exception when installing config for module %s, message was: %s', $module, $e->getMessage()), 0, $e); } } } /** Loading Loading
core/tests/Drupal/KernelTests/KernelTestBase.php +6 −1 Original line number Diff line number Diff line Loading @@ -700,8 +700,13 @@ protected function installConfig($modules) { if (!$this->container->get('module_handler')->moduleExists($module)) { throw new \LogicException("$module module is not enabled."); } try { $this->container->get('config.installer')->installDefaultConfig('module', $module); } catch (\Exception $e) { throw new \Exception(sprintf('Exception when installing config for module %s, message was: %s', $module, $e->getMessage()), 0, $e); } } } /** Loading