diff --git a/core/modules/system/src/Tests/Theme/TwigEnvironmentTest.php b/core/modules/system/src/Tests/Theme/TwigEnvironmentTest.php index 6ecabecfaeb..8edb4b2a00a 100644 --- a/core/modules/system/src/Tests/Theme/TwigEnvironmentTest.php +++ b/core/modules/system/src/Tests/Theme/TwigEnvironmentTest.php @@ -33,7 +33,7 @@ class TwigEnvironmentTest extends KernelTestBase { /** @var \Drupal\Core\Template\TwigEnvironment $environment */ $environment = \Drupal::service('twig'); $this->assertEqual($environment->renderInline('test-no-context'), 'test-no-context'); - $this->assertEqual($environment->renderInline('test-with-context {{ lama }}', array('lama' => 'muuh')), 'test-with-context muuh'); + $this->assertEqual($environment->renderInline('test-with-context {{ llama }}', array('llama' => 'muuh')), 'test-with-context muuh'); $element = array(); $unsafe_string = ''; @@ -56,8 +56,8 @@ class TwigEnvironmentTest extends KernelTestBase { $element = array(); $element['test'] = array( '#type' => 'inline_template', - '#template' => 'test-with-context {{ lama }}', - '#context' => array('lama' => 'muuh'), + '#template' => 'test-with-context {{ llama }}', + '#context' => array('llama' => 'muuh'), ); $element_copy = $element; // Render it twice so that twig caching is triggered. diff --git a/core/modules/system/tests/modules/theme_test/src/ThemeTestController.php b/core/modules/system/tests/modules/theme_test/src/ThemeTestController.php index cf42211b608..335ed8397e0 100644 --- a/core/modules/system/tests/modules/theme_test/src/ThemeTestController.php +++ b/core/modules/system/tests/modules/theme_test/src/ThemeTestController.php @@ -63,8 +63,8 @@ class ThemeTestController extends ControllerBase { $element = array(); $element['test'] = array( '#type' => 'inline_template', - '#template' => 'test-with-context {{ lama }}', - '#context' => array('lama' => 'muuh'), + '#template' => 'test-with-context {{ llama }}', + '#context' => array('llama' => 'muuh'), ); return $element; }