diff --git a/modules/simpletest/tests/file.test b/modules/simpletest/tests/file.test
index 543c8c2af5b403545b9a53bae46796ecc2ada6a3..e66c81705e9684e10c77939c1f6bcc946f817436 100644
--- a/modules/simpletest/tests/file.test
+++ b/modules/simpletest/tests/file.test
@@ -1914,7 +1914,7 @@ class FileSaveTest extends FileHookTestCase {
  * Tests file usage functions.
  */
 class FileUsageTest extends FileTestCase {
-  function getInfo() {
+  public static function getInfo() {
     return array(
       'name' => 'File usage',
       'description' => 'Tests the file usage functions.',