[Security] Fix expectation in a test.
This commit is contained in:
parent
9e7b10915b
commit
8299a44c27
@ -220,8 +220,8 @@ class ContextListenerTest extends \PHPUnit_Framework_TestCase
|
|||||||
->will($this->returnValue(true));
|
->will($this->returnValue(true));
|
||||||
|
|
||||||
$event->expects($this->any())
|
$event->expects($this->any())
|
||||||
->method('getRequestType')
|
->method('isMasterRequest')
|
||||||
->will($this->returnValue(HttpKernelInterface::MASTER_REQUEST));
|
->will($this->returnValue(true));
|
||||||
$event->expects($this->any())
|
$event->expects($this->any())
|
||||||
->method('getRequest')
|
->method('getRequest')
|
||||||
->will($this->returnValue($request));
|
->will($this->returnValue($request));
|
||||||
|
Reference in New Issue
Block a user