diff --git a/core/modules/system/src/Tests/Theme/TwigFilterTest.php b/core/modules/system/src/Tests/Theme/TwigFilterTest.php index 5a285c7..5665a4c 100644 --- a/core/modules/system/src/Tests/Theme/TwigFilterTest.php +++ b/core/modules/system/src/Tests/Theme/TwigFilterTest.php @@ -104,15 +104,15 @@ public function testTwigWithoutFilter() { 'message' => 'Without string attribute in the front.', ), array( - 'expected' => '
Without either nor class attributes.
', - 'message' => 'Attributes printed without id nor class attributes.', + 'expected' => '
Without id and class attributes.
', + 'message' => 'Attributes printed without id and class attributes.', ), array( 'expected' => '
All attributes again.
', 'message' => 'All attributes printed again.', ), array( - 'expected' => '
ID and class. Having the same ID twice is not valid markup but we want to make sure the filter doesn\'t use drupal_html_id().
', + 'expected' => '
ID and class. Having the same ID twice is not valid markup but we want to make sure the filter doesn\'t use drupal_html_id().
', 'message' => 'Class and ID filtered.', ), ); diff --git a/core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.filter.html.twig b/core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.filter.html.twig index cc7bc56..56fc3f1 100644 --- a/core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.filter.html.twig +++ b/core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.filter.html.twig @@ -18,6 +18,6 @@
Class attributes only:
Without boolean attribute.
Without string attribute.
-
Without either nor class attributes.
+
Without id and class attributes.
All attributes again.
-
ID and class. Having the same ID twice is not valid markup but we want to make sure the filter doesn't use drupal_html_id().
+
ID and class. Having the same ID twice is not valid markup but we want to make sure the filter doesn't use drupal_html_id().