Index: modules/taxonomy/taxonomy.test
===================================================================
RCS file: /cvs/drupal/drupal/modules/taxonomy/taxonomy.test,v
retrieving revision 1.90
diff -u -p -r1.90 taxonomy.test
--- modules/taxonomy/taxonomy.test	22 Aug 2010 15:45:03 -0000	1.90
+++ modules/taxonomy/taxonomy.test	1 Sep 2010 09:42:38 -0000
@@ -432,6 +432,10 @@ class TaxonomyTermTestCase extends Taxon
     taxonomy_term_save($term2);
     $parents = taxonomy_get_parents($term2->tid);
     $this->assertTrue(isset($parents[$term1->tid]) && isset($parents[$term3->tid]), t('Both parents found successfully.'));
+
+    // Checks if term2 is listed twice in term overview.
+    $this->drupalGet('admin/structure/taxonomy/' . $term2->vocabulary_machine_name);
+    $this->assertNoUniqueText($term2->name, t('Term with multi parents visible mutilple times in term overview.'));
   }
 
   /**
