summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Uckelman <uckelman@nomic.net>2012-02-27 03:20:52 +0100
committerJoel Uckelman <uckelman@nomic.net>2012-02-27 03:20:52 +0100
commitf746303059f0ae9c45e2e5b8ed679e44adc7327a (patch)
tree9f878a67bb31e50a43a05f862cc994bee74f4936
parent7750ae52e7b73af2f7d4f4964dfb2ac007f9c6b6 (diff)
Set the timezone so the header tests make the right Date headers.
-rw-r--r--test/build_email_test.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/build_email_test.php b/test/build_email_test.php
index 51ccb44..b4d250c 100644
--- a/test/build_email_test.php
+++ b/test/build_email_test.php
@@ -84,6 +84,7 @@ http://www.example.com/viewtopic.php?p=42#p42",
);
protected function call_build_headers(array $headers, array $params) {
+ date_default_timezone_set('America/Phoenix');
$this->assertEquals(
$headers,
build_headers(