[Security/Http] Fix test
This commit is contained in:
parent
700487002f
commit
6a45129b41
@ -138,6 +138,12 @@ class SwitchUserListenerTest extends \PHPUnit_Framework_TestCase
|
|||||||
->expects($this->any())
|
->expects($this->any())
|
||||||
->method('getUri')
|
->method('getUri')
|
||||||
->willReturn('/');
|
->willReturn('/');
|
||||||
|
$this
|
||||||
|
->request
|
||||||
|
->query
|
||||||
|
->expects($this->any())
|
||||||
|
->method('all')
|
||||||
|
->will($this->returnValue(array()));
|
||||||
|
|
||||||
$dispatcher = $this->getMock('Symfony\Component\EventDispatcher\EventDispatcherInterface');
|
$dispatcher = $this->getMock('Symfony\Component\EventDispatcher\EventDispatcherInterface');
|
||||||
$dispatcher
|
$dispatcher
|
||||||
|
Reference in New Issue
Block a user