File
- drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Tests/CookieTest.php, line 68
Class
- CookieTest
- CookieTest
Namespace
Symfony\Component\HttpFoundation\Tests
Code
public function testGetPath() {
$cookie = new Cookie('foo', 'bar');
$this
->assertSame('/', $cookie
->getPath(), '->getPath() returns / as the default path');
}