diff options
author | webchick <webchick@24967.no-reply.drupal.org> | 2011-12-31 16:00:21 -0800 |
---|---|---|
committer | webchick <webchick@24967.no-reply.drupal.org> | 2011-12-31 16:00:21 -0800 |
commit | 8703bb7b3d83f79c3a1453f17a8f4eb9da9f442f (patch) | |
tree | 50c109fa0bb00c1ce4eecc97d9834c6834dd8646 /modules/taxonomy/taxonomy.test | |
parent | 5f9bb354ef83b7e8c3cfaad5e8ab95b435ae47f5 (diff) | |
download | brdo-8703bb7b3d83f79c3a1453f17a8f4eb9da9f442f.tar.gz brdo-8703bb7b3d83f79c3a1453f17a8f4eb9da9f442f.tar.bz2 |
Issue #1359710 by xjm, pwolanin: Fixed taxonomy_menu() passes invalid arguments into taxonomy_form_term().
Diffstat (limited to 'modules/taxonomy/taxonomy.test')
-rw-r--r-- | modules/taxonomy/taxonomy.test | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/taxonomy/taxonomy.test b/modules/taxonomy/taxonomy.test index 03fdcb095..eb1324337 100644 --- a/modules/taxonomy/taxonomy.test +++ b/modules/taxonomy/taxonomy.test @@ -703,6 +703,10 @@ class TaxonomyTermTestCase extends TaxonomyWebTestCase { // Check that the term feed page is working. $this->drupalGet('taxonomy/term/' . $term->tid . '/feed'); + // Check that the term edit page does not try to interpret additional path + // components as arguments for taxonomy_form_term(). + $this->drupalGet('taxonomy/term/' . $term->tid . '/edit/' . $this->randomName()); + // Delete the term. $this->drupalPost('taxonomy/term/' . $term->tid . '/edit', array(), t('Delete')); $this->drupalPost(NULL, NULL, t('Delete')); |