diff options
Diffstat (limited to 'modules/taxonomy/taxonomy.test')
-rw-r--r-- | modules/taxonomy/taxonomy.test | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/modules/taxonomy/taxonomy.test b/modules/taxonomy/taxonomy.test index aa8b98335..a9b574c19 100644 --- a/modules/taxonomy/taxonomy.test +++ b/modules/taxonomy/taxonomy.test @@ -486,12 +486,17 @@ class TaxonomyTermTestCase extends TaxonomyWebTestCase { // Edit the term. $this->drupalPost('taxonomy/term/' . $term->tid . '/edit', $edit, t('Save')); + // Check that the term is still present at admin UI after edit. + $this->drupalGet('admin/structure/taxonomy/' . $this->vocabulary->machine_name); + $this->assertText($edit['name'], t('The randomly generated term name is present.')); + $this->assertLink(t('edit')); + // View the term and check that it is correct. $this->drupalGet('taxonomy/term/' . $term->tid); $this->assertText($edit['name'], t('The randomly generated term name is present.')); $this->assertText($edit['description[value]'], t('The randomly generated term description is present.')); - // Check that term feed page is working + // Check that the term feed page is working. $this->drupalGet('taxonomy/term/' . $term->tid . '/feed'); // Delete the term. |