public function CookieTest::testFromStringIgnoreSecureFlag 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::testFromStringIgnoreSecureFlag()
File
- vendor/
symfony/ browser-kit/ Tests/ CookieTest.php, line 40
Class
Namespace
Symfony\Component\BrowserKit\TestsCode
public function testFromStringIgnoreSecureFlag() {
$this
->assertFalse(Cookie::fromString('foo=bar; secure')
->isSecure());
$this
->assertFalse(Cookie::fromString('foo=bar; secure', 'http://example.com/')
->isSecure());
}