diff --git a/src/DependencyInjection/Factory/ContentAdminFactory.php b/src/DependencyInjection/Factory/ContentAdminFactory.php index eb4af79..c964375 100644 --- a/src/DependencyInjection/Factory/ContentAdminFactory.php +++ b/src/DependencyInjection/Factory/ContentAdminFactory.php @@ -84,7 +84,7 @@ public function create(array $config, ContainerBuilder $container, XmlFileLoader $ckeditorConfig = []; if ($this->isConfigEnabledAuto($container, $config['fos_ck_editor']['enabled'], 'FOSCKEditorBundle', $message)) { if (!isset($config['fos_ck_editor']['config_name'])) { - throw new InvalidConfigurationException('The cmf_sonata_phpcr_admin_integration.bundles.content.fos_ck_editor.config_name setting has to be defined when IvoryCKEditorBundle integration is enabled.'); + throw new InvalidConfigurationException('The cmf_sonata_phpcr_admin_integration.bundles.content.fos_ck_editor.config_name setting has to be defined when FOSCKEditorBundle integration is enabled.'); } unset($config['fos_ck_editor']['enabled']); diff --git a/tests/Unit/DependencyInjection/Factory/ContentAdminFactoryTest.php b/tests/Unit/DependencyInjection/Factory/ContentAdminFactoryTest.php index e3419da..9f71889 100644 --- a/tests/Unit/DependencyInjection/Factory/ContentAdminFactoryTest.php +++ b/tests/Unit/DependencyInjection/Factory/ContentAdminFactoryTest.php @@ -62,7 +62,7 @@ public function testCKEditorDisabledWithoutConfigName() $this->create($config); - $this->assertEquals([], $this->container->getParameter('cmf_sonata_phpcr_admin_integration.content.fos_ckeditor')); + $this->assertEquals([], $this->container->getParameter('cmf_sonata_phpcr_admin_integration.content.fos_ck_editor')); } public function testCKEditorEnabledWithConfigName()