You are here

public function CookieTest::getExpireCookieStrings 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::getExpireCookieStrings()

File

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

Class

CookieTest

Namespace

Symfony\Component\BrowserKit\Tests

Code

public function getExpireCookieStrings() {
  return array(
    array(
      'foo=bar; expires=Fri, 31-Jul-2020 08:49:37 GMT',
    ),
    array(
      'foo=bar; expires=Fri, 31 Jul 2020 08:49:37 GMT',
    ),
    array(
      'foo=bar; expires=Fri, 31-07-2020 08:49:37 GMT',
    ),
    array(
      'foo=bar; expires=Fri, 31-07-20 08:49:37 GMT',
    ),
    array(
      'foo=bar; expires=Friday, 31-Jul-20 08:49:37 GMT',
    ),
    array(
      'foo=bar; expires=Fri Jul 31 08:49:37 2020',
    ),
    array(
      'foo=bar; expires=\'Fri Jul 31 08:49:37 2020\'',
    ),
    array(
      'foo=bar; expires=Friday July 31st 2020, 08:49:37 GMT',
    ),
  );
}