summaryrefslogtreecommitdiff
path: root/modules/path
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-03-31 01:49:55 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-03-31 01:49:55 +0000
commitf40532da769cd1dd551a42bec64dbb1aff240099 (patch)
tree988da5abd5f1604ea59cccea4747dc124cccfb95 /modules/path
parent5cc1704a3f23cdef051fbd74bb6532f4dc3800d4 (diff)
downloadbrdo-f40532da769cd1dd551a42bec64dbb1aff240099.tar.gz
brdo-f40532da769cd1dd551a42bec64dbb1aff240099.tar.bz2
#376129 by boombatower, Damien Tournoud, and chx: Change getInfo() to a static method to reduce memory footprint of SimpleTest.
Diffstat (limited to 'modules/path')
-rw-r--r--modules/path/path.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/path/path.test b/modules/path/path.test
index 479cd1f06..0015fe36b 100644
--- a/modules/path/path.test
+++ b/modules/path/path.test
@@ -2,7 +2,7 @@
// $Id$
class PathTestCase extends DrupalWebTestCase {
- function getInfo() {
+ public static function getInfo() {
return array(
'name' => t('Path alias functionality'),
'description' => t('Add, edit, delete, and change alias and verify its consistency in the database.'),
@@ -126,7 +126,7 @@ class PathTestCase extends DrupalWebTestCase {
}
class PathLanguageTestCase extends DrupalWebTestCase {
- function getInfo() {
+ public static function getInfo() {
return array(
'name' => t('Path aliases with translated nodes'),
'description' => t('Confirm that paths work with translated nodes'),