From 3bd051fb31c585808bcc44df1ede1a9f05f7afcc Mon Sep 17 00:00:00 2001 From: webchick Date: Mon, 6 Apr 2015 15:05:37 -0700 Subject: [PATCH] Issue #2465917 by stefan.r, Damien Tournoud: CKEditor test fails in PHP7 --- core/modules/ckeditor/src/Tests/CKEditorTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/modules/ckeditor/src/Tests/CKEditorTest.php b/core/modules/ckeditor/src/Tests/CKEditorTest.php index f532a523dace..7d42dc54d8de 100644 --- a/core/modules/ckeditor/src/Tests/CKEditorTest.php +++ b/core/modules/ckeditor/src/Tests/CKEditorTest.php @@ -283,14 +283,14 @@ class CKEditorTest extends KernelTestBase { $expected = $this->getDefaultInternalConfig(); $expected['disallowedContent'] = $this->getDefaultDisallowedContentConfig(); $expected['allowedContent'] = $this->getDefaultAllowedContentConfig(); - $this->assertIdentical($expected, $internal_plugin->getConfig($editor), '"Internal" plugin configuration built correctly for default toolbar.'); + $this->assertEqual($expected, $internal_plugin->getConfig($editor), '"Internal" plugin configuration built correctly for default toolbar.'); // Format dropdown/button enabled: new setting should be present. $settings = $editor->getSettings(); $settings['toolbar']['rows'][0][0]['items'][] = 'Format'; $editor->setSettings($settings); $expected['format_tags'] = 'p;h4;h5;h6'; - $this->assertIdentical($expected, $internal_plugin->getConfig($editor), '"Internal" plugin configuration built correctly for customized toolbar.'); + $this->assertEqual($expected, $internal_plugin->getConfig($editor), '"Internal" plugin configuration built correctly for customized toolbar.'); } /**