diff --git a/src/Symfony/Bundle/FrameworkBundle/EventListener/TestSessionListener.php b/src/Symfony/Bundle/FrameworkBundle/EventListener/TestSessionListener.php index 9e0617723a..1969f71e9e 100644 --- a/src/Symfony/Bundle/FrameworkBundle/EventListener/TestSessionListener.php +++ b/src/Symfony/Bundle/FrameworkBundle/EventListener/TestSessionListener.php @@ -52,8 +52,6 @@ class TestSessionListener implements EventSubscriberInterface if ($cookies->has($session->getName())) { $session->setId($cookies->get($session->getName())); - } else { - $session->migrate(false); } }