diff options
author | Dries Buytaert <dries@buytaert.net> | 2011-05-08 15:37:39 -0400 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2011-05-08 15:37:39 -0400 |
commit | c09288a94eb89cf1015a6b6b8b218a14d9b686f7 (patch) | |
tree | b1e5c572db244e29947b9406c08a7b2d7ff84c4a /modules/taxonomy/taxonomy.test | |
parent | 25f8da3ff59287fbdc363d21277659ae48a95fbb (diff) | |
download | brdo-c09288a94eb89cf1015a6b6b8b218a14d9b686f7.tar.gz brdo-c09288a94eb89cf1015a6b6b8b218a14d9b686f7.tar.bz2 |
- Patch #796692 by dman, cross, andypost, aaronbauman, yched, BarisW: only show the term heading if the term has a description.
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 a6ac332dc..1fd47f5ea 100644 --- a/modules/taxonomy/taxonomy.test +++ b/modules/taxonomy/taxonomy.test @@ -648,12 +648,12 @@ class TaxonomyTermTestCase extends TaxonomyWebTestCase { $this->assertText($edit['description[value]'], t('The randomly generated term description is present.')); // Did this page request display a 'term-listing-heading'? - $this->assertPattern('|class="term-listing-heading"|', 'Term page displayed the term description element.'); + $this->assertPattern('|class="taxonomy-term-description"|', 'Term page displayed the term description element.'); // Check that it does NOT show a description when description is blank. $term->description = ''; taxonomy_term_save($term); $this->drupalGet('taxonomy/term/' . $term->tid); - $this->assertNoPattern('|class="term-listing-heading"|', 'Term page did not display the term description when description was blank.'); + $this->assertNoPattern('|class="taxonomy-term-description"|', 'Term page did not display the term description when description was blank.'); // Check that the term feed page is working. $this->drupalGet('taxonomy/term/' . $term->tid . '/feed'); |