Commit d70915b1 authored by webchick's avatar webchick
Browse files

#453962 by neclimdul: Change all instances of getInfo() to static functions.

parent b2d4f129
......@@ -689,7 +689,7 @@ class NodeRSSContentTestCase extends DrupalWebTestCase {
*/
class NodeSaveTestCase extends DrupalWebTestCase {
function getInfo() {
public static function getInfo() {
return array(
'name' => t('Node save'),
'description' => t('Test node_save() for saving content.'),
......
......@@ -7,7 +7,7 @@
class OpenIDFunctionalTest extends DrupalWebTestCase {
protected $web_user;
function getInfo() {
public static function getInfo() {
return array(
'name' => t('OpenID login and account registration'),
'description' => t("Adds an identity to a user's profile and uses it to log in, creates a user account using auto-registration."),
......@@ -162,7 +162,7 @@ class OpenIDFunctionalTest extends DrupalWebTestCase {
* Test internal helper functions.
*/
class OpenIDUnitTest extends DrupalWebTestCase {
function getInfo() {
public static function getInfo() {
return array(
'name' => t('OpenID helper functions'),
'description' => t('Test OpenID helper functions.'),
......
......@@ -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.'),
......
......@@ -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.'),
......
......@@ -979,7 +979,7 @@ class UserBlocksUnitTests extends DrupalWebTestCase {
*/
class UserSaveTestCase extends DrupalWebTestCase {
function getInfo() {
public static function getInfo() {
return array(
'name' => t('User save test'),
'description' => t('Test user_save() for arbitrary new uid.'),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment