diff options
Diffstat (limited to 'modules/field')
-rw-r--r-- | modules/field/field.test | 10 | ||||
-rw-r--r-- | modules/field/modules/field_sql_storage/field_sql_storage.test | 2 | ||||
-rw-r--r-- | modules/field/modules/text/text.test | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/modules/field/field.test b/modules/field/field.test index 2dabfca5e..adf9c06bf 100644 --- a/modules/field/field.test +++ b/modules/field/field.test @@ -4,7 +4,7 @@ // TODO : use drupalCreateField() / drupalCreateFieldInstance() all over ? class FieldAttachTestCase extends DrupalWebTestCase { - function getInfo() { + public static function getInfo() { return array( 'name' => t('Field attach tests'), 'description' => t("Test Field Attach API functions."), @@ -606,7 +606,7 @@ class FieldAttachTestCase extends DrupalWebTestCase { class FieldInfoTestCase extends DrupalWebTestCase { - function getInfo() { + public static function getInfo() { return array( 'name' => t('Field info tests'), 'description' => t("Get information about existing fields, instances and bundles."), @@ -712,7 +712,7 @@ class FieldInfoTestCase extends DrupalWebTestCase { } class FieldFormTestCase extends DrupalWebTestCase { - function getInfo() { + public static function getInfo() { return array( 'name' => t('Field form tests'), 'description' => t("Test Field form handling."), @@ -919,7 +919,7 @@ class FieldFormTestCase extends DrupalWebTestCase { } class FieldTestCase extends DrupalWebTestCase { - function getInfo() { + public static function getInfo() { return array( 'name' => t('Field tests'), 'description' => t("Create / read /update a field."), @@ -1063,7 +1063,7 @@ class FieldTestCase extends DrupalWebTestCase { class FieldInstanceTestCase extends DrupalWebTestCase { protected $field; - function getInfo() { + public static function getInfo() { return array( 'name' => t('Field instance tests'), 'description' => t("Create field entities by attaching fields to entities."), diff --git a/modules/field/modules/field_sql_storage/field_sql_storage.test b/modules/field/modules/field_sql_storage/field_sql_storage.test index 0b9072a1a..4cabf085d 100644 --- a/modules/field/modules/field_sql_storage/field_sql_storage.test +++ b/modules/field/modules/field_sql_storage/field_sql_storage.test @@ -2,7 +2,7 @@ // $Id$ class FieldSqlStorageTestCase extends DrupalWebTestCase { - function getInfo() { + public static function getInfo() { return array( 'name' => t('Field SQL storage tests'), 'description' => t("Test field SQL storage module."), diff --git a/modules/field/modules/text/text.test b/modules/field/modules/text/text.test index a7c35cecc..c837b57c2 100644 --- a/modules/field/modules/text/text.test +++ b/modules/field/modules/text/text.test @@ -4,7 +4,7 @@ class TextFieldTestCase extends DrupalWebTestCase { protected $instance; - function getInfo() { + public static function getInfo() { return array( 'name' => t('Text Field'), 'description' => t("Test the creation of text fields."), |