summaryrefslogtreecommitdiff
path: root/modules/contact
diff options
context:
space:
mode:
Diffstat (limited to 'modules/contact')
-rw-r--r--modules/contact/contact.test1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/contact/contact.test b/modules/contact/contact.test
index 6bbf4d996..3b6f90a82 100644
--- a/modules/contact/contact.test
+++ b/modules/contact/contact.test
@@ -144,6 +144,7 @@ class ContactSitewideTestCase extends DrupalWebTestCase {
}
// Submit contact form one over limit.
$this->drupalGet('contact');
+ $this->assertResponse(403, t('Access denied to anonymous user after reaching message treshold.'));
$this->assertRaw(t('You cannot send more than %number messages in @interval. Please try again later.', array('%number' => variable_get('contact_threshold_limit', 3), '@interval' => format_interval(600))), t('Message threshold reached.'));
// Delete created categories.