We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1cb02c commit a476cb4Copy full SHA for a476cb4
tests/SetMethodTest.php
@@ -217,6 +217,18 @@ public function test_should_be_available_from_the_facade(): void
217
);
218
}
219
220
+ /**
221
+ * @runInSeparateProcess
222
+ */
223
+ public function test_should_fail_when_expires_is_wrong(): void
224
+ {
225
+ $this->expectException(CookieException::class);
226
+
227
+ $cookie = new Cookie();
228
229
+ $cookie->set('foo', 'bar', 'foo');
230
+ }
231
232
private function getCookieDetails(string $name): array
233
{
234
$cookies = $this->cookie->getCookieDetails();
0 commit comments