public function CookieTest::testGetExpiresTime in Zircon Profile 8
Same name in this branch
- 8 vendor/symfony/http-foundation/Tests/CookieTest.php \Symfony\Component\HttpFoundation\Tests\CookieTest::testGetExpiresTime()
- 8 vendor/symfony/browser-kit/Tests/CookieTest.php \Symfony\Component\BrowserKit\Tests\CookieTest::testGetExpiresTime()
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/Tests/CookieTest.php \Symfony\Component\HttpFoundation\Tests\CookieTest::testGetExpiresTime()
File
- vendor/
symfony/ http-foundation/ Tests/ CookieTest.php, line 87
Class
- CookieTest
- CookieTest.
Namespace
Symfony\Component\HttpFoundation\TestsCode
public function testGetExpiresTime() {
$cookie = new Cookie('foo', 'bar', 3600);
$this
->assertEquals(3600, $cookie
->getExpiresTime(), '->getExpiresTime() returns the expire date');
}