diff --git a/tests/src/Unit/RedirectRequestSubscriberTest.php b/tests/src/Unit/RedirectRequestSubscriberTest.php index 3a72e7a..1db5dc2 100644 --- a/tests/src/Unit/RedirectRequestSubscriberTest.php +++ b/tests/src/Unit/RedirectRequestSubscriberTest.php @@ -273,7 +273,12 @@ protected function getGetResponseEventStub($path_info, $query_string) { ->with('GET') ->will($this->returnValue(TRUE)); + $request->query = new ParameterBag(); $request->attributes = new ParameterBag(); + $request->cookies = new ParameterBag(); + $request->files = new FileBag(); + $request->server = new ServerBag(); + $request->headers = new HeaderBag(); $http_kernel = $this->getMockBuilder('\Symfony\Component\HttpKernel\HttpKernelInterface') ->getMock();