summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwebchick2013-10-08 06:11:42 (GMT)
committerwebchick2013-10-08 06:11:42 (GMT)
commitd32275c3d1cc391c813a420ec252f709ae7b3bde (patch)
tree7ab1e2b0d47b72995227aed444688c4fe37f0478
parent6302d0e0203f189ec8a4c87002113f5d545e334a (diff)
Issue #1993728 by pfrenssen: Fixed testMenuTreeData() assert message confuses dashes and underscores.
-rw-r--r--core/modules/system/lib/Drupal/system/Tests/Menu/TreeOutputTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/modules/system/lib/Drupal/system/Tests/Menu/TreeOutputTest.php b/core/modules/system/lib/Drupal/system/Tests/Menu/TreeOutputTest.php
index 7c5948d..78a00aa 100644
--- a/core/modules/system/lib/Drupal/system/Tests/Menu/TreeOutputTest.php
+++ b/core/modules/system/lib/Drupal/system/Tests/Menu/TreeOutputTest.php
@@ -63,8 +63,8 @@ class TreeOutputTest extends DrupalUnitTestBase {
$output = menu_tree_output($this->tree_data);
// Validate that the - in main-menu is changed into an underscore
- $this->assertEqual( $output['1']['#theme'], 'menu_link__main_menu', 'Hyphen is changed to a dash on menu_link');
- $this->assertEqual( $output['#theme_wrappers'][0], 'menu_tree__main_menu', 'Hyphen is changed to a dash on menu_tree wrapper');
+ $this->assertEqual($output['1']['#theme'], 'menu_link__main_menu', 'Hyphen is changed to an underscore on menu_link');
+ $this->assertEqual($output['#theme_wrappers'][0], 'menu_tree__main_menu', 'Hyphen is changed to an underscore on menu_tree wrapper');
// Looking for child items in the data
$this->assertEqual( $output['1']['#below']['2']['#href'], 'a/b', 'Checking the href on a child item');
$this->assertTrue( in_array('active-trail',$output['1']['#below']['2']['#attributes']['class']) , 'Checking the active trail class');