- Patch #482920 by Razorraser: made getInfo() static functions.

merge-requests/26/head
Dries Buytaert 2009-06-06 10:35:14 +00:00
parent c3af73ef17
commit bccd256d2f
1 changed files with 2 additions and 2 deletions

View File

@ -806,7 +806,7 @@ class NodeSaveTestCase extends DrupalWebTestCase {
* Tests related to node types.
*/
class NodeTypeTestCase extends DrupalWebTestCase {
function getInfo() {
public static function getInfo() {
return array(
'name' => t('Node types'),
'description' => t('Ensures that node type functions work correctly.'),
@ -838,7 +838,7 @@ class NodeTypeTestCase extends DrupalWebTestCase {
* Rebuild the node_access table.
*/
class NodeAccessRebuildTestCase extends DrupalWebTestCase {
function getInfo() {
public static function getInfo() {
return array(
'name' => t('Node access rebuild'),
'description' => t('Ensures that node access rebuild functions work correctly.'),