Skip to content
This repository was archived by the owner on May 31, 2024. It is now read-only.

Commit ef7b49e

Browse files
committed
[Security] Fix expectation in a test.
1 parent a8d995f commit ef7b49e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Http/Tests/Firewall/ContextListenerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,8 @@ public function testOnKernelResponseListenerRemovesItself()
220220
->will($this->returnValue(true));
221221

222222
$event->expects($this->any())
223-
->method('getRequestType')
224-
->will($this->returnValue(HttpKernelInterface::MASTER_REQUEST));
223+
->method('isMasterRequest')
224+
->will($this->returnValue(true));
225225
$event->expects($this->any())
226226
->method('getRequest')
227227
->will($this->returnValue($request));

0 commit comments

Comments
 (0)