summaryrefslogtreecommitdiff
path: root/modules/simpletest
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-08-25 10:27:15 +0000
committerDries Buytaert <dries@buytaert.net>2009-08-25 10:27:15 +0000
commit14b233ec1d4d1d57995ce92f65377f7349516a29 (patch)
tree32e2a7c12efb894f5b3992ae2edb59306dca8b99 /modules/simpletest
parentd55daf0fc49a53f5bc3ff35b7fa1c1c7ce628835 (diff)
downloadbrdo-14b233ec1d4d1d57995ce92f65377f7349516a29.tar.gz
brdo-14b233ec1d4d1d57995ce92f65377f7349516a29.tar.bz2
- Patch #368408 by jeffschuler: improve consistency of API and settings on administration pages.
Diffstat (limited to 'modules/simpletest')
-rw-r--r--modules/simpletest/tests/common.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/simpletest/tests/common.test b/modules/simpletest/tests/common.test
index f786a42e9..13aad21e0 100644
--- a/modules/simpletest/tests/common.test
+++ b/modules/simpletest/tests/common.test
@@ -1244,9 +1244,9 @@ class FormatDateUnitTest extends DrupalWebTestCase {
$this->assertIdentical(format_date($timestamp, 'custom', 'l, d-M-y H:i:s T', 'America/Los_Angeles', 'en'), 'Sunday, 25-Mar-07 17:00:00 PDT', t('Test a different language.'));
$this->assertIdentical(format_date($timestamp, 'custom', 'l, d-M-y H:i:s T', 'Europe/London'), 'Monday, 26-Mar-07 01:00:00 BST', t('Test a different time zone.'));
$this->assertIdentical(format_date($timestamp, 'custom', 'l, d-M-y H:i:s T'), 'domingo, 25-Mar-07 17:00:00 PDT', t('Test custom date format.'));
- $this->assertIdentical(format_date($timestamp, 'large'), 'domingo, 25. marzo 2007 - 17:00', t('Test long date format.'));
+ $this->assertIdentical(format_date($timestamp, 'long'), 'domingo, 25. marzo 2007 - 17:00', t('Test long date format.'));
$this->assertIdentical(format_date($timestamp, 'medium'), '25. marzo 2007 - 17:00', t('Test medium date format.'));
- $this->assertIdentical(format_date($timestamp, 'small'), '2007 Mar 25 - 5:00pm', t('Test short date format.'));
+ $this->assertIdentical(format_date($timestamp, 'short'), '2007 Mar 25 - 5:00pm', t('Test short date format.'));
$this->assertIdentical(format_date($timestamp), '25. marzo 2007 - 17:00', t('Test default date format.'));
// Restore the original user and language, and enable session saving.