diff --git a/core/modules/system/lib/Drupal/system/Tests/Theme/HtmlTwigAttributesTest.php b/core/modules/system/lib/Drupal/system/Tests/Theme/HtmlTwigAttributesTest.php deleted file mode 100644 index fb26da6..0000000 --- a/core/modules/system/lib/Drupal/system/Tests/Theme/HtmlTwigAttributesTest.php +++ /dev/null @@ -1,42 +0,0 @@ - 'html.html.twig html and body attributes', - 'description' => 'Tests attributes inserted in the html and body elements of html.html.twig.', - 'group' => 'Theme', - ); - } - - /** - * Tests that modules and themes can alter variables in html.html.twig. - */ - function testThemeHtmlTwigAttributes() { - $this->drupalGet(''); - $attributes = $this->xpath('/html[@theme_test_html_attribute="theme test html attribute value"]'); - $this->assertTrue(count($attributes) == 1, 'Attribute set in the html element via hook_preprocess_HOOK() for html.html.twig found.'); - $attributes = $this->xpath('/html/body[@theme_test_body_attribute="theme test body attribute value"]'); - $this->assertTrue(count($attributes) == 1, 'Attribute set in the body element via hook_preprocess_HOOK() for html.html.twig found.'); - } -}