Skip to content

Commit

Permalink
[Security] Fix expectation in a test.
Browse files Browse the repository at this point in the history
  • Loading branch information
jakzal committed Feb 19, 2015
1 parent 9e7b109 commit 8299a44
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -220,8 +220,8 @@ public function testOnKernelResponseListenerRemovesItself()
->will($this->returnValue(true));

$event->expects($this->any())
->method('getRequestType')
->will($this->returnValue(HttpKernelInterface::MASTER_REQUEST));
->method('isMasterRequest')
->will($this->returnValue(true));
$event->expects($this->any())
->method('getRequest')
->will($this->returnValue($request));
Expand Down

0 comments on commit 8299a44

Please sign in to comment.