summaryrefslogtreecommitdiff
path: root/modules/simpletest/tests/image.test
diff options
context:
space:
mode:
Diffstat (limited to 'modules/simpletest/tests/image.test')
-rw-r--r--modules/simpletest/tests/image.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/simpletest/tests/image.test b/modules/simpletest/tests/image.test
index 4be01c773..21fb97ac9 100644
--- a/modules/simpletest/tests/image.test
+++ b/modules/simpletest/tests/image.test
@@ -14,7 +14,7 @@ class ImageToolkitTestCase extends DrupalWebTestCase {
protected $file;
protected $image;
- function getInfo() {
+ public static function getInfo() {
return array(
'name' => t('Image toolkit tests'),
'description' => t('Check image tookit functions.'),
@@ -203,7 +203,7 @@ class ImageToolkitGdTestCase extends DrupalWebTestCase {
protected $width = 40;
protected $height = 20;
- function getInfo() {
+ public static function getInfo() {
return array(
'name' => t('Image GD manipulation tests'),
'description' => t('Check that core image manipulations work properly: scale, resize, rotate, crop, scale and crop, and desaturate.'),