From 5c9eab059c290098b6114a67559d8c7d9b5d3a16 Mon Sep 17 00:00:00 2001 From: webchick Date: Mon, 17 Oct 2011 09:04:20 -0700 Subject: Issue #1041906 by Monochrome, bobodrone, ELC, ctibor, DamienMcKenna: Fixed Taxonomy term menu link title overrides term page title. --- modules/simpletest/tests/menu.test | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'modules/simpletest/tests') diff --git a/modules/simpletest/tests/menu.test b/modules/simpletest/tests/menu.test index 5b4847f75..b12ccb116 100644 --- a/modules/simpletest/tests/menu.test +++ b/modules/simpletest/tests/menu.test @@ -1370,8 +1370,7 @@ class MenuBreadcrumbTestCase extends MenuWebTestCase { $tree += array( $link['link_path'] => $link['link_title'], ); - // @todo Normally, you'd expect $term->name as page title here. - $this->assertBreadcrumb($link['link_path'], $trail, $link['link_title'], $tree); + $this->assertBreadcrumb($link['link_path'], $trail, $term->name, $tree); $this->assertRaw(check_plain($parent->title), 'Tagged node found.'); // Additionally make sure that this link appears only once; i.e., the -- cgit v1.2.3