From f746303059f0ae9c45e2e5b8ed679e44adc7327a Mon Sep 17 00:00:00 2001 From: Joel Uckelman Date: Mon, 27 Feb 2012 03:20:52 +0100 Subject: Set the timezone so the header tests make the right Date headers. --- test/build_email_test.php | 1 + 1 file changed, 1 insertion(+) 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( -- cgit v1.2.3