You are here

public function CookieTest::testFromStringAcceptsSeveralExpiresDateFormats in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/browser-kit/Tests/CookieTest.php \Symfony\Component\BrowserKit\Tests\CookieTest::testFromStringAcceptsSeveralExpiresDateFormats()

@dataProvider getExpireCookieStrings

File

vendor/symfony/browser-kit/Tests/CookieTest.php, line 49

Class

CookieTest

Namespace

Symfony\Component\BrowserKit\Tests

Code

public function testFromStringAcceptsSeveralExpiresDateFormats($cookie) {
  $this
    ->assertEquals(1596185377, Cookie::fromString($cookie)
    ->getExpiresTime());
}