Skip to content

Commit cc2cc05

Browse files
committed
wip
1 parent 218b35a commit cc2cc05

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Integration/Application/HttpApplicationTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ public function session_is_not_set_even_when_it_was_cleaned_and_empty(): void
3838

3939
$response = $client->get(uri(ControllerWithoutSession::class));
4040
$cookies = arr($response->getHeader('set-cookie')->values ?? [])
41-
->map(fn (string $cookie) => explode('=', $cookie)[0] ?? null);
41+
->map(fn (string $cookie) => explode('=', $cookie)[0]);
4242

4343
$this->assertFalse($cookies->contains('tempest_session_id'));
4444

4545
$response = $client->get(uri(ControllerWithSession::class));
4646
$cookies = arr($response->getHeader('set-cookie')->values ?? [])
47-
->map(fn (string $cookie) => explode('=', $cookie)[0] ?? null);
47+
->map(fn (string $cookie) => explode('=', $cookie)[0]);
4848

4949
$this->assertTrue($cookies->contains('tempest_session_id'));
5050

0 commit comments

Comments
 (0)