diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-08-08 02:06:56 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-08-08 02:06:56 +0000 |
commit | a9c9ef2d3010ac742e82542e3b0d0864cb9a9d25 (patch) | |
tree | 599899411c398fe6cb7645c60bfa0f2c25df4095 /modules/taxonomy/taxonomy.test | |
parent | 2aee69c3ced832a5f5a1aac6046859432f170218 (diff) | |
download | brdo-a9c9ef2d3010ac742e82542e3b0d0864cb9a9d25.tar.gz brdo-a9c9ef2d3010ac742e82542e3b0d0864cb9a9d25.tar.bz2 |
- Patch #870528 by Dave Reid: taxonomy fixes.
Diffstat (limited to 'modules/taxonomy/taxonomy.test')
-rw-r--r-- | modules/taxonomy/taxonomy.test | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/taxonomy/taxonomy.test b/modules/taxonomy/taxonomy.test index a7c922b7f..87cfb4011 100644 --- a/modules/taxonomy/taxonomy.test +++ b/modules/taxonomy/taxonomy.test @@ -1028,6 +1028,8 @@ class TaxonomyTokenReplaceTestCase extends TaxonomyWebTestCase { $tests['[term:url]'] = url('taxonomy/term/' . $term2->tid, array('absolute' => TRUE)); $tests['[term:node-count]'] = 1; $tests['[term:parent:name]'] = check_plain($term1->name); + $tests['[term:parent:url]'] = url('taxonomy/term/' . $term1->tid, array('absolute' => TRUE)); + $tests['[term:parent:parent:name]'] = '[term:parent:parent:name]'; $tests['[term:vocabulary:name]'] = check_plain($this->vocabulary->name); // Test to make sure that we generated something for each token. |