Skip to content
Snippets Groups Projects
Commit bccd256d authored by Dries Buytaert's avatar Dries Buytaert
Browse files

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

parent c3af73ef
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -806,7 +806,7 @@ class NodeSaveTestCase extends DrupalWebTestCase { ...@@ -806,7 +806,7 @@ class NodeSaveTestCase extends DrupalWebTestCase {
* Tests related to node types. * Tests related to node types.
*/ */
class NodeTypeTestCase extends DrupalWebTestCase { class NodeTypeTestCase extends DrupalWebTestCase {
function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Node types'), 'name' => t('Node types'),
'description' => t('Ensures that node type functions work correctly.'), 'description' => t('Ensures that node type functions work correctly.'),
...@@ -838,7 +838,7 @@ class NodeTypeTestCase extends DrupalWebTestCase { ...@@ -838,7 +838,7 @@ class NodeTypeTestCase extends DrupalWebTestCase {
* Rebuild the node_access table. * Rebuild the node_access table.
*/ */
class NodeAccessRebuildTestCase extends DrupalWebTestCase { class NodeAccessRebuildTestCase extends DrupalWebTestCase {
function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Node access rebuild'), 'name' => t('Node access rebuild'),
'description' => t('Ensures that node access rebuild functions work correctly.'), 'description' => t('Ensures that node access rebuild functions work correctly.'),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment