From e09d527af814d9eef3f84c793afd518ac7c946ec Mon Sep 17 00:00:00 2001 From: Alex Pott <alex.a.pott@googlemail.com> Date: Tue, 30 Aug 2022 13:41:01 +0100 Subject: [PATCH] Issue #3306720 by Spokje: Replace ckeditor with ckeditor5 in twig_theme_test.attach_library.html.twig --- .../templates/twig_theme_test.attach_library.html.twig | 2 +- .../system/tests/src/Functional/Theme/EngineTwigTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.attach_library.html.twig b/core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.attach_library.html.twig index 0784ab918b33..dceaed8468a7 100644 --- a/core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.attach_library.html.twig +++ b/core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.attach_library.html.twig @@ -1 +1 @@ -{{ attach_library('core/ckeditor') }} +{{ attach_library('core/ckeditor5') }} diff --git a/core/modules/system/tests/src/Functional/Theme/EngineTwigTest.php b/core/modules/system/tests/src/Functional/Theme/EngineTwigTest.php index c358a92f74e4..ea00a612f9bd 100644 --- a/core/modules/system/tests/src/Functional/Theme/EngineTwigTest.php +++ b/core/modules/system/tests/src/Functional/Theme/EngineTwigTest.php @@ -144,7 +144,7 @@ public function testTwigFileUrls() { */ public function testTwigAttachLibrary() { $this->drupalGet('/twig-theme-test/attach-library'); - $this->assertSession()->responseContains('ckeditor.js'); + $this->assertSession()->responseContains('ckeditor5-dll.js'); } /** -- GitLab