Commit cdd9a67b authored by yched's avatar yched

Issue #1423432 by sun: Fixed testInfo() methods throws PHP notices.

parent f86c2415
......@@ -6,6 +6,7 @@ Bugfixes:
schema available to testbot.
- #998494 by zhangtaihao: Fix Node Reference field always displaying 10 results
when using the Advanced View option (with Views 6.x-3.x)
- #1423432 by sun: Fixed testInfo() methods throws PHP notices.
CCK 6.x-2.9
===========
......
......@@ -375,7 +375,7 @@ class ContentCrudTestCase extends DrupalWebTestCase {
}
class ContentCrudBasicTest extends ContentCrudTestCase {
function getInfo() {
public static function getInfo() {
return array(
'name' => t('CRUD - Basic API tests'),
'description' => t('Tests the field CRUD (create, read, update, delete) API. <strong>Requires <a href="@schema_link">Schema module</a>.</strong>', array('@schema_link' => 'http://www.drupal.org/project/schema')),
......@@ -431,7 +431,7 @@ class ContentCrudBasicTest extends ContentCrudTestCase {
}
class ContentCrudSingleToMultipleTest extends ContentCrudTestCase {
function getInfo() {
public static function getInfo() {
return array(
'name' => t('CRUD - Single to multiple'),
'description' => t('Tests the field CRUD (create, read, update, delete) API by creating a single value field and changing it to a multivalue field, sharing it between several content types. <strong>Requires <a href="@schema_link">Schema module</a>.</strong>', array('@schema_link' => 'http://www.drupal.org/project/schema')),
......@@ -506,7 +506,7 @@ class ContentCrudSingleToMultipleTest extends ContentCrudTestCase {
}
class ContentCrudMultipleToSingleTest extends ContentCrudTestCase {
function getInfo() {
public static function getInfo() {
return array(
'name' => t('CRUD - Multiple to single'),
'description' => t('Tests the field CRUD (create, read, update, delete) API by creating a multivalue field and changing it to a single value field, sharing it between several content types. <strong>Requires <a href="@schema_link">Schema module</a>.</strong>', array('@schema_link' => 'http://www.drupal.org/project/schema')),
......@@ -640,7 +640,7 @@ class ContentCrudMultipleToSingleTest extends ContentCrudTestCase {
}
class ContentUICrud extends ContentCrudTestCase {
function getInfo() {
public static function getInfo() {
return array(
'name' => t('Admin UI'),
'description' => t('Tests the CRUD (create, read, update, delete) operations for content fields via the UI. <strong>Requires <a href="@schema_link">Schema module</a>.</strong>', array('@schema_link' => 'http://www.drupal.org/project/schema')),
......@@ -885,7 +885,7 @@ class ContentUICrud extends ContentCrudTestCase {
}
class ContentOptionWidgetTest extends ContentCrudTestCase {
function getInfo() {
public static function getInfo() {
return array(
'name' => t('Option widgets'),
'description' => t('Tests the optionwidgets.'),
......
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