Skip to content

Commit

Permalink
[HttpFoundation] deprecate using $first in get and added key in all
Browse files Browse the repository at this point in the history
  • Loading branch information
Simperfit authored and nicolas-grekas committed Aug 8, 2019
1 parent 286513c commit 6cb2911
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/EventListener/TestSessionListenerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public function testSessionWithNewSessionIdAndNewCookieDoesNotSendAnotherCookie(

$response = $this->filterResponse(new Request(), HttpKernelInterface::MASTER_REQUEST, $response);

$this->assertSame($expected, $response->headers->get('Set-Cookie', null, false));
$this->assertSame($expected, $response->headers->all()['set-cookie']);
}

public function anotherCookieProvider()
Expand Down

0 comments on commit 6cb2911

Please sign in to comment.