projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
- less custom macro cruft
[m6w6/ext-http]
/
phpunit
/
CookieTest.php
diff --git
a/phpunit/CookieTest.php
b/phpunit/CookieTest.php
index affe798dbb647c7bf130a02ffb472635e4ff065e..11342adf6dfe763eb1090b60b5fd3cbe401c3158 100644
(file)
--- a/
phpunit/CookieTest.php
+++ b/
phpunit/CookieTest.php
@@
-83,7
+83,9
@@
class CookieTest extends PHPUnit_Framework_TestCase {
$this->assertEquals(
sprintf(
"this=expires; expires=%s; ",
- date_create("@$t")->format("D, d M Y H:i:s \\G\\M\\T")
+ date_create("@$t")
+ ->setTimezone(new DateTimezone("UTC"))
+ ->format("D, d M Y H:i:s \\G\\M\\T")
),
$o->toString()
);