Merge branch '4.4' into 5.1
* 4.4: [HttpKernel] fix merge
This commit is contained in:
commit
f0d9eeb257
@ -21,7 +21,6 @@ use Symfony\Component\HttpFoundation\Response;
|
|||||||
use Symfony\Component\HttpFoundation\Session\Session;
|
use Symfony\Component\HttpFoundation\Session\Session;
|
||||||
use Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage;
|
use Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage;
|
||||||
use Symfony\Component\HttpKernel\Event\FinishRequestEvent;
|
use Symfony\Component\HttpKernel\Event\FinishRequestEvent;
|
||||||
use Symfony\Component\HttpKernel\Event\GetResponseEvent;
|
|
||||||
use Symfony\Component\HttpKernel\Event\RequestEvent;
|
use Symfony\Component\HttpKernel\Event\RequestEvent;
|
||||||
use Symfony\Component\HttpKernel\Event\ResponseEvent;
|
use Symfony\Component\HttpKernel\Event\ResponseEvent;
|
||||||
use Symfony\Component\HttpKernel\EventListener\AbstractSessionListener;
|
use Symfony\Component\HttpKernel\EventListener\AbstractSessionListener;
|
||||||
@ -201,7 +200,7 @@ class SessionListenerTest extends TestCase
|
|||||||
$container->set('session', $session);
|
$container->set('session', $session);
|
||||||
$container->set('request_stack', $requestStack);
|
$container->set('request_stack', $requestStack);
|
||||||
|
|
||||||
$event = new GetResponseEvent($kernel, $masterRequest, HttpKernelInterface::MASTER_REQUEST);
|
$event = new RequestEvent($kernel, $masterRequest, HttpKernelInterface::MASTER_REQUEST);
|
||||||
|
|
||||||
$listener = new SessionListener($container);
|
$listener = new SessionListener($container);
|
||||||
$listener->onKernelRequest($event);
|
$listener->onKernelRequest($event);
|
||||||
|
Reference in New Issue
Block a user