summaryrefslogtreecommitdiffstatshomepage
path: root/modules/field/field.test
diff options
context:
space:
mode:
Diffstat (limited to 'modules/field/field.test')
-rw-r--r--modules/field/field.test10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/field/field.test b/modules/field/field.test
index 2dabfca5e5c..adf9c06bfd9 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."),