From 86a6ab4a3bccf8908b82128004676a5d83f2b336 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 1 Apr 2007 08:04:44 +0000 Subject: [PATCH] Fix the DateTest uni test do it doesn't break in DST --- docs/UnitTest/DateTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/UnitTest/DateTest.php b/docs/UnitTest/DateTest.php index c33440e..4694c99 100644 --- a/docs/UnitTest/DateTest.php +++ b/docs/UnitTest/DateTest.php @@ -30,7 +30,7 @@ class DateTest extends UnitTestCase public function testGmtMinus8() { $this->fixture->setUserTimeZone(-8); - $this->assertEqual(date(self::DATE_FORMAT, TIMENOW), $this->fixture->format(self::DATE_FORMAT, TIMENOW)); + $this->assertEqual('2007-04-01 00:00:00', $this->fixture->format(self::DATE_FORMAT, 1175414400)); } public function testGmtNoAdjust() -- 2.22.5