@@ -48,7 +48,7 @@ public function testOnKernelExceptionWillSetCorrectEventResponseGivenGivenExcept
48
48
$ event = new ExceptionEvent (
49
49
new HttpKernel (new EventDispatcher (), new ControllerResolver ()),
50
50
Request::create ('http://localhost:8000/web/v1/posts ' ),
51
- HttpKernelInterface::MASTER_REQUEST ,
51
+ HttpKernelInterface::MAIN_REQUEST ,
52
52
$ exception ,
53
53
);
54
54
$ data = [];
@@ -87,7 +87,7 @@ public function testOnKernelExceptionWillSetCorrectEventResponseGivenGivenExcept
87
87
$ event = new ExceptionEvent (
88
88
$ this ->createMock (KernelInterface::class),
89
89
$ this ->createMock (Request::class),
90
- KernelInterface::MASTER_REQUEST ,
90
+ KernelInterface::MAIN_REQUEST ,
91
91
new \LogicException ()
92
92
);
93
93
$ data = [];
@@ -114,7 +114,7 @@ public function testOnKernelExceptionWillSetCorrectEventResponseGivenGivenSymfon
114
114
$ event = new ExceptionEvent (
115
115
$ this ->createMock (KernelInterface::class),
116
116
$ this ->createMock (Request::class),
117
- KernelInterface::MASTER_REQUEST ,
117
+ KernelInterface::MAIN_REQUEST ,
118
118
$ e = new AccessDeniedHttpException ()
119
119
);
120
120
$ data = [];
0 commit comments