public function CookieTest::testFromStringWithCapitalization in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/browser-kit/Tests/CookieTest.php \Symfony\Component\BrowserKit\Tests\CookieTest::testFromStringWithCapitalization()
File
- vendor/
symfony/ browser-kit/ Tests/ CookieTest.php, line 68
Class
Namespace
Symfony\Component\BrowserKit\TestsCode
public function testFromStringWithCapitalization() {
$this
->assertEquals('Foo=Bar; path=/', (string) Cookie::fromString('Foo=Bar'));
$this
->assertEquals('foo=bar; expires=Fri, 31 Dec 2010 23:59:59 GMT; path=/', (string) Cookie::fromString('foo=bar; Expires=Fri, 31 Dec 2010 23:59:59 GMT'));
$this
->assertEquals('foo=bar; domain=www.example.org; path=/; httponly', (string) Cookie::fromString('foo=bar; DOMAIN=www.example.org; HttpOnly'));
}