Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit 2723fe7

Browse files
committed
introduce ckedior by FOS
1 parent 8ccd034 commit 2723fe7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/DependencyInjection/Factory/ContentAdminFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public function create(array $config, ContainerBuilder $container, XmlFileLoader
8484
$ckeditorConfig = [];
8585
if ($this->isConfigEnabledAuto($container, $config['fos_ck_editor']['enabled'], 'FOSCKEditorBundle', $message)) {
8686
if (!isset($config['fos_ck_editor']['config_name'])) {
87-
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.');
87+
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.');
8888
}
8989

9090
unset($config['fos_ck_editor']['enabled']);

tests/Unit/DependencyInjection/Factory/ContentAdminFactoryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public function testCKEditorDisabledWithoutConfigName()
6262

6363
$this->create($config);
6464

65-
$this->assertEquals([], $this->container->getParameter('cmf_sonata_phpcr_admin_integration.content.fos_ckeditor'));
65+
$this->assertEquals([], $this->container->getParameter('cmf_sonata_phpcr_admin_integration.content.fos_ck_editor'));
6666
}
6767

6868
public function testCKEditorEnabledWithConfigName()

0 commit comments

Comments
 (0)