public function CookieTest::testGetPath in Zircon Profile 8.0
Same name in this branch
- 8.0 vendor/symfony/http-foundation/Tests/CookieTest.php \Symfony\Component\HttpFoundation\Tests\CookieTest::testGetPath()
- 8.0 vendor/symfony/browser-kit/Tests/CookieTest.php \Symfony\Component\BrowserKit\Tests\CookieTest::testGetPath()
Same name and namespace in other branches
- 8 vendor/symfony/http-foundation/Tests/CookieTest.php \Symfony\Component\HttpFoundation\Tests\CookieTest::testGetPath()
File
- vendor/
symfony/ http-foundation/ Tests/ CookieTest.php, line 80
Class
- CookieTest
- CookieTest.
Namespace
Symfony\Component\HttpFoundation\TestsCode
public function testGetPath() {
$cookie = new Cookie('foo', 'bar');
$this
->assertSame('/', $cookie
->getPath(), '->getPath() returns / as the default path');
}