summaryrefslogtreecommitdiff
path: root/modules/taxonomy/taxonomy.test
diff options
context:
space:
mode:
Diffstat (limited to 'modules/taxonomy/taxonomy.test')
-rw-r--r--modules/taxonomy/taxonomy.test19
1 files changed, 0 insertions, 19 deletions
diff --git a/modules/taxonomy/taxonomy.test b/modules/taxonomy/taxonomy.test
index b4e351371..f0ec295af 100644
--- a/modules/taxonomy/taxonomy.test
+++ b/modules/taxonomy/taxonomy.test
@@ -339,25 +339,6 @@ class TaxonomyTermTestCase extends TaxonomyWebTestCase {
}
/**
- * Test synonyms.
- */
- function testTaxonomySynonyms() {
- // Create a taxonomy term with one synonym.
- $term = $this->createTerm($this->vocabulary);
- $term->synonyms = $this->randomName();
- taxonomy_term_save($term);
-
- // Fetch the synonyms.
- $synonyms = taxonomy_get_synonyms($term->tid);
- $count = count($synonyms);
- $this->assertEqual($count, 1, t('@count synonyms were found.', array('@count' => $count)));
-
- // Fetch the term using the synonyms.
- $returned_term = taxonomy_get_synonym_root($synonyms[0]);
- $this->assertEqual($term->tid, $returned_term->tid, t('Term ID returned correctly'));
- }
-
- /**
* Test terms in a single and multiple hierarchy.
*/
function testTaxonomyTermHierarchy() {