diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2008-11-13 08:13:56 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2008-11-13 08:13:56 +0000 |
commit | 939a1f01a14bb9d764a6379d84c0963f23586ad3 (patch) | |
tree | cab8b9e3b0851f59b8e5cdb97893f48d46db820e /modules/taxonomy/taxonomy.test | |
parent | d8aafce20dc57e43eed2e469dd60b0ddf3d6a23d (diff) | |
download | brdo-939a1f01a14bb9d764a6379d84c0963f23586ad3.tar.gz brdo-939a1f01a14bb9d764a6379d84c0963f23586ad3.tar.bz2 |
#332145 by catch and Arancaytar: Fix regression on term submit form.
Diffstat (limited to 'modules/taxonomy/taxonomy.test')
-rw-r--r-- | modules/taxonomy/taxonomy.test | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/taxonomy/taxonomy.test b/modules/taxonomy/taxonomy.test index 7f34de9de..a128edee5 100644 --- a/modules/taxonomy/taxonomy.test +++ b/modules/taxonomy/taxonomy.test @@ -595,6 +595,9 @@ class TermEditTestCase extends DrupalWebTestCase { 'name' => $this->randomName(12), 'description' => $this->randomName(100), ); + // Explictly set the parents field to 'root', to ensure that + // taxonomy_form_term_submit() handles the invalid term ID correctly. + $edit['parent[]'] = 0; // Create the term to edit (adding to the default 'Tags' vocabulary). $this->drupalPost('admin/content/taxonomy/1/add/', $edit, t('Save')); |