diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-07-30 03:06:18 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-07-30 03:06:18 +0000 |
commit | 137011df918d911c9811b8d503ca5af037284c4c (patch) | |
tree | d87d47b2a9c5b61e5b9e803baa1bbfc2e2104417 /modules/taxonomy/taxonomy.test | |
parent | a63facc8c6b8289f7d456226206c92ee491ecaeb (diff) | |
download | brdo-137011df918d911c9811b8d503ca5af037284c4c.tar.gz brdo-137011df918d911c9811b8d503ca5af037284c4c.tar.bz2 |
- Patch #844388 by lotyrin, bjaspan, effulgentsia: taxonomy terms disappear from node preview if previewed more than once.
Diffstat (limited to 'modules/taxonomy/taxonomy.test')
-rw-r--r-- | modules/taxonomy/taxonomy.test | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/taxonomy/taxonomy.test b/modules/taxonomy/taxonomy.test index 605b6a86e..391dc01df 100644 --- a/modules/taxonomy/taxonomy.test +++ b/modules/taxonomy/taxonomy.test @@ -451,6 +451,12 @@ class TaxonomyTermTestCase extends TaxonomyWebTestCase { $this->drupalGet('node/' . $node->nid); $this->assertText($term2->name, t('Term is displayed when viewing the node.')); + + //Preview the node + $this->drupalPost('node/' . $node->nid . '/edit', $edit, t('Preview')); + $this->assertNoUniqueText($term2->name, t('Term is displayed when previewing the node.')); + $this->drupalPost(NULL, NULL, t('Preview')); + $this->assertNoUniqueText($term2->name, t('Term is displayed when previewing the node again.')); } /** |