diff --git a/legal.test b/legal.test
index 938188f..4f18529 100644
--- a/legal.test
+++ b/legal.test
@@ -41,7 +41,7 @@ class LegalTestCase extends DrupalWebTestCase {
  */
 class LegalRegisterTestCase extends LegalTestCase {
 
-  function getInfo() {
+  public static function getInfo() {
     return array(
       'name' => 'Create Account',
       'description' => 'Register as new user and create account.',
@@ -105,7 +105,7 @@ class LegalRegisterTestCase extends LegalTestCase {
 class LegalScrollBoxDisplayTestCase extends LegalTestCase {
   var $conditions;
 
-  function getInfo() {
+  public static function getInfo() {
     return array(
       'name' => 'Scroll Box Display',
       'description' => 'Change display option to Scroll Box and check if display is behaves correctly.',
@@ -142,7 +142,7 @@ class LegalScrollBoxDisplayTestCase extends LegalTestCase {
 class LegalScrollBoxCSSDisplayTestCase extends LegalTestCase {
   var $conditions;
 
-  function getInfo() {
+  public static function getInfo() {
     return array(
       'name' => 'Scroll Box CSS Display',
       'description' => 'Change display option to Scroll Box CSS and check if display is behaves correctly.',
@@ -179,7 +179,7 @@ class LegalScrollBoxCSSDisplayTestCase extends LegalTestCase {
 class LegalHTMLTextDisplayTestCase extends LegalTestCase {
   var $conditions;
 
-  function getInfo() {
+  public static function getInfo() {
     return array(
       'name' => 'HTML Text display',
       'description' => 'Change display option to HTML Text and check if display is behaves correctly.',
@@ -216,7 +216,7 @@ class LegalHTMLTextDisplayTestCase extends LegalTestCase {
 class LegalLinkDisplayTestCase extends LegalTestCase {
   var $conditions;
 
-  function getInfo() {
+  public static function getInfo() {
     return array(
       'name' => 'Page Link display',
       'description' => 'Change display option to Page Link and check if display is behaves correctly.',
