We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 47ab7c5 commit 7a30b75Copy full SHA for 7a30b75
1 file changed
tests/system/HTTP/ResponseCookieTest.php
@@ -135,11 +135,11 @@ public function testCookieHTTPOnly()
135
136
$response->setCookie('foo', 'bar');
137
$cookie = $response->getCookie('foo');
138
- $this->assertFalse($cookie->isHTTPOnly());
+ $this->assertTrue($cookie->isHTTPOnly());
139
140
- $response->setCookie(['name' => 'bee', 'value' => 'bop', 'httponly' => true]);
+ $response->setCookie(['name' => 'bee', 'value' => 'bop', 'httponly' => false]);
141
$cookie = $response->getCookie('bee');
142
- $this->assertTrue($cookie->isHTTPOnly());
+ $this->assertFalse($cookie->isHTTPOnly());
143
}
144
145
public function testCookieExpiry()
0 commit comments