summaryrefslogtreecommitdiff
path: root/modules/system/system.test
diff options
context:
space:
mode:
Diffstat (limited to 'modules/system/system.test')
-rw-r--r--modules/system/system.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/system/system.test b/modules/system/system.test
index 828ab0e85..b5176fd85 100644
--- a/modules/system/system.test
+++ b/modules/system/system.test
@@ -1218,7 +1218,7 @@ class TokenReplaceTestCase extends DrupalWebTestCase {
$source .= '[node:created:since]'; // Time since the node was created
$source .= '[current-user:name]'; // Current user's name
$source .= '[user:name]'; // No user passed in, should be untouched
- $source .= '[date:small]'; // Small date format of REQUEST_TIME
+ $source .= '[date:short]'; // Short date format of REQUEST_TIME
$source .= '[bogus:token]'; // Nonexistent token, should be untouched
$target = check_plain($node->title);
@@ -1226,7 +1226,7 @@ class TokenReplaceTestCase extends DrupalWebTestCase {
$target .= format_interval(REQUEST_TIME - $node->created, 2);
$target .= check_plain($user->name);
$target .= '[user:name]';
- $target .= format_date(REQUEST_TIME, 'small');
+ $target .= format_date(REQUEST_TIME, 'short');
$target .= '[bogus:token]';
$result = token_replace($source, array('node' => $node));