summaryrefslogtreecommitdiff
path: root/modules/contact
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-12-07 06:07:19 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-12-07 06:07:19 +0000
commitb52cdd773c10df895f306f4956e8b8294d875c0f (patch)
tree9a5f2e8cf4033c03db179c55f74c390a13363d65 /modules/contact
parent778ec56c7b2e30b97671b4f5090c7832ed41649d (diff)
downloadbrdo-b52cdd773c10df895f306f4956e8b8294d875c0f.tar.gz
brdo-b52cdd773c10df895f306f4956e8b8294d875c0f.tar.bz2
#652420 by sun: Fixed Various failures everywhere caught by asserting on watchdog errors found in testing logs.
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.