From d70915b1ab14086d3019478fbb4f63f7b952de58 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Wed, 6 May 2009 19:56:21 +0000 Subject: #453962 by neclimdul: Change all instances of getInfo() to static functions. --- modules/simpletest/tests/form.test | 2 +- modules/simpletest/tests/theme.test | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/simpletest') 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.'), -- cgit v1.2.3