symfony/symfony — comment on commit 8fc9547da5a5607e8a1a38a2c9d100d836937062
File: src/Symfony/Bundle/FrameworkBundle/EventListener/TestSessionListener.php line 54
By maomorales:

And I agree with benji07, in this case we should generate a new id randomly, with session_regenerate_id.
Thanks!