X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=phpunit%2FCookieTest.php;h=11342adf6dfe763eb1090b60b5fd3cbe401c3158;hb=0b83632b2b0a03eeca090f993259ccd95ab646fb;hp=affe798dbb647c7bf130a02ffb472635e4ff065e;hpb=8df0e5b02cd04b43f19045c0f4f69c4076840d27;p=m6w6%2Fext-http diff --git a/phpunit/CookieTest.php b/phpunit/CookieTest.php index affe798..11342ad 100644 --- 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() );