Skip to content

Commit 09824ab

Browse files
committed
[HttpFoundation] changed the strategy introduced in a5ccda47b4406518ee75929ce2e690b6998c021b to fix functional tests and still allow to call save more than once for a Session
1 parent 1c521dc commit 09824ab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

EventListener/TestSessionListener.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ public function onKernelResponse(FilterResponseEvent $event)
6969

7070
if ($session = $event->getRequest()->getSession()) {
7171
$session->save();
72+
$session->close();
7273

7374
$params = session_get_cookie_params();
7475

0 commit comments

Comments
 (0)