commit 24d0f8c4e80da4b86baff59cbf5f5abf5336614e Author: Joel Pittet Date: Mon Mar 31 19:32:48 2014 -0700 test fixes diff --git a/core/modules/system/lib/Drupal/system/Tests/Theme/TwigFilterTest.php b/core/modules/system/lib/Drupal/system/Tests/Theme/TwigFilterTest.php index 58ab4bd..42be0c1 100644 --- a/core/modules/system/lib/Drupal/system/Tests/Theme/TwigFilterTest.php +++ b/core/modules/system/lib/Drupal/system/Tests/Theme/TwigFilterTest.php @@ -94,7 +94,7 @@ public function testTwigWithoutFilter() { 'message' => 'All attributes printed.', ), array( - 'expected' => '
Class attributes in front, remainder at the back:
', + 'expected' => '
Class attributes in front, remainder at the back:
', 'message' => 'Class attributes printed in the front, the rest in the back.', ), array( 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 2da0e86..308e9f4 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 @@ -12,7 +12,6 @@ -
All attributes:
All attributes:
Class attributes in front, remainder at the back:
Class attributes in back, remainder at the front:
diff --git a/core/modules/system/tests/modules/twig_theme_test/twig_theme_test.module b/core/modules/system/tests/modules/twig_theme_test/twig_theme_test.module index 5a9f095..5874cca 100644 --- a/core/modules/system/tests/modules/twig_theme_test/twig_theme_test.module +++ b/core/modules/system/tests/modules/twig_theme_test/twig_theme_test.module @@ -5,7 +5,7 @@ */ function twig_theme_test_theme($existing, $type, $theme, $path) { $items['twig_theme_test_filter'] = array( - 'variables' => array('quote' => array()), + 'variables' => array('quote' => array(), 'attributes' => array()), 'template' => 'twig_theme_test.filter', ); $items['twig_theme_test_php_variables'] = array(