From b52cdd773c10df895f306f4956e8b8294d875c0f Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Mon, 7 Dec 2009 06:07:19 +0000 Subject: #652420 by sun: Fixed Various failures everywhere caught by asserting on watchdog errors found in testing logs. --- modules/contact/contact.test | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/contact') 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. -- cgit v1.2.3