From c4e69b1ce55f1bda03e96d99813589937ad68276 Mon Sep 17 00:00:00 2001 From: Julian Pustkuchen <3110-Anybody@users.noreply.drupalcode.org> Date: Wed, 10 May 2023 11:19:36 +0000 Subject: [PATCH] Change to see what's the issue here --- tests/src/Kernel/EntityViewBuilderTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/src/Kernel/EntityViewBuilderTest.php b/tests/src/Kernel/EntityViewBuilderTest.php index 088fc03..3a05f40 100644 --- a/tests/src/Kernel/EntityViewBuilderTest.php +++ b/tests/src/Kernel/EntityViewBuilderTest.php @@ -92,7 +92,7 @@ final class EntityViewBuilderTest extends AbstractTestCase { HTML; $actual_html = $this->renderPlain($build); - self::assertSame(self::normalizeHtml($expected_html), self::normalizeHtml($actual_html)); + self::assertSame(htmlspecialchars(self::normalizeHtml($expected_html)), htmlspecialchars(self::normalizeHtml($actual_html))); // -- Teaser mode. $build = $view_builder->build($public_node, 'teaser');