diff --git a/core/modules/system/src/Tests/Theme/TwigEnvironmentTest.php b/core/modules/system/src/Tests/Theme/TwigEnvironmentTest.php index 0079b27..ce385dd 100644 --- a/core/modules/system/src/Tests/Theme/TwigEnvironmentTest.php +++ b/core/modules/system/src/Tests/Theme/TwigEnvironmentTest.php @@ -42,7 +42,6 @@ public function testInlineTemplate() { ); $this->assertEqual(drupal_render($element), 'test-with-context muuh'); - // Enable twig_auto_reload and twig_debug. $settings = Settings::getAll(); $settings['twig_debug'] = TRUE; @@ -59,7 +58,7 @@ public function testInlineTemplate() { '#context' => array('lama' => 'muuh'), ); $element_copy = $element; - // Ensure to call it twice that twig caching is triggered. + // Render it twice so that twig caching is triggered. $this->assertEqual(drupal_render($element), 'test-with-context muuh'); $this->assertEqual(drupal_render($element_copy), 'test-with-context muuh'); } diff --git a/core/modules/system/src/Tests/Theme/TwigSettingsTest.php b/core/modules/system/src/Tests/Theme/TwigSettingsTest.php index 75231ac..c7fec1d 100644 --- a/core/modules/system/src/Tests/Theme/TwigSettingsTest.php +++ b/core/modules/system/src/Tests/Theme/TwigSettingsTest.php @@ -119,9 +119,9 @@ function testTwigCacheOverride() { } /** - * Tests twig inline templates with autoreload. + * Tests twig inline templates with auto_reload. */ - public function testTwigInlineWithAutoreload() { + public function testTwigInlineWithAutoReload() { $parameters = $this->container->getParameter('twig.config'); $parameters['auto_reload'] = TRUE; $parameters['debug'] = TRUE;