https://src.bluestatic.org
/
isso.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f899eb
)
Fix the DateTest uni test do it doesn't break in DST
author
Robert Sesek <rsesek@bluestatic.org>
Sun, 1 Apr 2007 08:04:44 +0000
(08:04 +0000)
committer
Robert Sesek <rsesek@bluestatic.org>
Sun, 1 Apr 2007 08:04:44 +0000
(08:04 +0000)
docs/UnitTest/DateTest.php
patch
|
blob
|
history
diff --git
a/docs/UnitTest/DateTest.php
b/docs/UnitTest/DateTest.php
index c33440ef000a2bb8ac45c02acb05aca13676d1b5..4694c99cf6a084a5432fc4f3b25da33303ff90ad 100644
(file)
--- 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()