diff options
author | David Rothstein <drothstein@gmail.com> | 2012-11-07 12:20:10 -0500 |
---|---|---|
committer | David Rothstein <drothstein@gmail.com> | 2012-11-07 12:20:10 -0500 |
commit | 7208952fae23553625412119487010a33f73c5ea (patch) | |
tree | 2e4e29c14b71b2a007bfef889eebe332a9088390 /modules/taxonomy/taxonomy.test | |
parent | 788c2adaf354270b0aa1e720caf07e5eea7312eb (diff) | |
download | brdo-7208952fae23553625412119487010a33f73c5ea.tar.gz brdo-7208952fae23553625412119487010a33f73c5ea.tar.bz2 |
Issue #1067120 followup by David_Rothstein, Berdir: Fix backwards compatibility issues for Drupal 7 on the taxonomy term page, and small documentation fixes.
Diffstat (limited to 'modules/taxonomy/taxonomy.test')
-rw-r--r-- | modules/taxonomy/taxonomy.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/taxonomy/taxonomy.test b/modules/taxonomy/taxonomy.test index 4cfb81b28..123bdce40 100644 --- a/modules/taxonomy/taxonomy.test +++ b/modules/taxonomy/taxonomy.test @@ -1428,8 +1428,8 @@ class TaxonomyHooksTestCase extends TaxonomyWebTestCase { // hook_entity_view() are invoked. $term = taxonomy_term_load($term->tid); $term_build = taxonomy_term_page($term); - $this->assertFalse(empty($term_build['taxonomy_terms'][$term->tid]['taxonomy_test_term_view_check']), 'hook_taxonomy_term_view() was invoked when viewing the term.'); - $this->assertFalse(empty($term_build['taxonomy_terms'][$term->tid]['taxonomy_test_entity_view_check']), 'hook_entity_view() was invoked when viewing the term.'); + $this->assertFalse(empty($term_build['term_heading']['term']['taxonomy_test_term_view_check']), 'hook_taxonomy_term_view() was invoked when viewing the term.'); + $this->assertFalse(empty($term_build['term_heading']['term']['taxonomy_test_entity_view_check']), 'hook_entity_view() was invoked when viewing the term.'); // Delete the term. taxonomy_term_delete($term->tid); |