diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-05-06 19:56:21 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-05-06 19:56:21 +0000 |
commit | d70915b1ab14086d3019478fbb4f63f7b952de58 (patch) | |
tree | 836d427c005c1979902899737712f0b20a6f82d6 /modules/simpletest | |
parent | b2d4f129041413a3804de8a8c12662b39651ea38 (diff) | |
download | brdo-d70915b1ab14086d3019478fbb4f63f7b952de58.tar.gz brdo-d70915b1ab14086d3019478fbb4f63f7b952de58.tar.bz2 |
#453962 by neclimdul: Change all instances of getInfo() to static functions.
Diffstat (limited to 'modules/simpletest')
-rw-r--r-- | modules/simpletest/tests/form.test | 2 | ||||
-rw-r--r-- | modules/simpletest/tests/theme.test | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/simpletest/tests/form.test b/modules/simpletest/tests/form.test index 3dff0fa1f..79eb5a1ad 100644 --- a/modules/simpletest/tests/form.test +++ b/modules/simpletest/tests/form.test @@ -395,7 +395,7 @@ class FormAPITestCase extends DrupalWebTestCase { */ class FormsFormStorageTestCase extends DrupalWebTestCase { - function getInfo() { + public static function getInfo() { return array( 'name' => t('Multistep form using form storage'), 'description' => t('Tests a multistep form using form storage and makes sure validation and caching works right.'), diff --git a/modules/simpletest/tests/theme.test b/modules/simpletest/tests/theme.test index f63b51571..a2243ce30 100644 --- a/modules/simpletest/tests/theme.test +++ b/modules/simpletest/tests/theme.test @@ -10,7 +10,7 @@ * Unit tests for the theme API. */ class TemplateUnitTest extends DrupalWebTestCase { - function getInfo() { + public static function getInfo() { return array( 'name' => t('Theme API'), 'description' => t('Test low-level theme template functions.'), |