diff options
-rw-r--r-- | modules/contact/contact.test | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/contact/contact.test b/modules/contact/contact.test index 73f370344..ddc67036f 100644 --- a/modules/contact/contact.test +++ b/modules/contact/contact.test @@ -62,6 +62,9 @@ class ContactSitewideTestCase extends DrupalWebTestCase { $this->addCategory($category = $this->randomName(16), implode(',', array($recipients[0])), '', TRUE); $this->assertRaw(t('Category %category has been added.', array('%category' => $category)), t('Category successfully added.')); + // Make sure the newly created category is included in the list of categories. + $this->assertNoUniqueText($category, t('New category included in categories list.')); + // Test update contact form category. $categories = $this->getCategories(); $category_id = $this->updateCategory($categories, $category = $this->randomName(16), $recipients_str = implode(',', array($recipients[0], $recipients[1])), $reply = $this->randomName(30), FALSE); |