diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-03-31 01:49:55 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-03-31 01:49:55 +0000 |
commit | f40532da769cd1dd551a42bec64dbb1aff240099 (patch) | |
tree | 988da5abd5f1604ea59cccea4747dc124cccfb95 /modules/contact | |
parent | 5cc1704a3f23cdef051fbd74bb6532f4dc3800d4 (diff) | |
download | brdo-f40532da769cd1dd551a42bec64dbb1aff240099.tar.gz brdo-f40532da769cd1dd551a42bec64dbb1aff240099.tar.bz2 |
#376129 by boombatower, Damien Tournoud, and chx: Change getInfo() to a static method to reduce memory footprint of SimpleTest.
Diffstat (limited to 'modules/contact')
-rw-r--r-- | modules/contact/contact.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/contact/contact.test b/modules/contact/contact.test index 5965efbe3..fb85aa0c3 100644 --- a/modules/contact/contact.test +++ b/modules/contact/contact.test @@ -5,7 +5,7 @@ * Test the sitewide contact form. */ class ContactSitewideTestCase extends DrupalWebTestCase { - function getInfo() { + public static function getInfo() { return array( 'name' => t('Site-wide contact form'), 'description' => t('Tests site-wide contact form functionality.'), @@ -256,7 +256,7 @@ class ContactSitewideTestCase extends DrupalWebTestCase { * Test the personal contact form. */ class ContactPersonalTestCase extends DrupalWebTestCase { - function getInfo() { + public static function getInfo() { return array( 'name' => t('Personal contact form'), 'description' => t('Tests personal contact form functionality.'), |