public function CookieTest::testFromStringThrowsAnExceptionIfCookieDateIsNotValid in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/browser-kit/Tests/CookieTest.php \Symfony\Component\BrowserKit\Tests\CookieTest::testFromStringThrowsAnExceptionIfCookieDateIsNotValid()
File
- vendor/
symfony/ browser-kit/ Tests/ CookieTest.php, line 91
Class
Namespace
Symfony\Component\BrowserKit\TestsCode
public function testFromStringThrowsAnExceptionIfCookieDateIsNotValid() {
$this
->setExpectedException('InvalidArgumentException');
Cookie::fromString('foo=bar; expires=Flursday July 31st 2020, 08:49:37 GMT');
}