summaryrefslogtreecommitdiff
path: root/modules/simpletest
diff options
context:
space:
mode:
authorDavid Rothstein <drothstein@gmail.com>2013-12-27 14:57:51 -0500
committerDavid Rothstein <drothstein@gmail.com>2013-12-27 14:57:51 -0500
commit1f7dc2774712d9f356a59bb8ccdd4844cc49d6be (patch)
tree3be0b58b7b3efaab726a58721f6c68b1d13e34c7 /modules/simpletest
parent1bcc0e36ad00c534eeff22fd23e405b18ce0a2e9 (diff)
downloadbrdo-1f7dc2774712d9f356a59bb8ccdd4844cc49d6be.tar.gz
brdo-1f7dc2774712d9f356a59bb8ccdd4844cc49d6be.tar.bz2
Issue #1993728 by johnmcc, pfrenssen: TestMenuTreeData() assert message confuses dashes and underscores.
Diffstat (limited to 'modules/simpletest')
-rw-r--r--modules/simpletest/tests/menu.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/simpletest/tests/menu.test b/modules/simpletest/tests/menu.test
index 52672c535..f5d7d290f 100644
--- a/modules/simpletest/tests/menu.test
+++ b/modules/simpletest/tests/menu.test
@@ -1025,8 +1025,8 @@ class MenuTreeOutputTestCase extends DrupalWebTestCase {
$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');