[Security/Http] Fix test

This commit is contained in:
Nicolas Grekas 2015-06-30 18:51:15 +02:00
parent 700487002f
commit 6a45129b41
1 changed files with 6 additions and 0 deletions

View File

@ -138,6 +138,12 @@ class SwitchUserListenerTest extends \PHPUnit_Framework_TestCase
->expects($this->any())
->method('getUri')
->willReturn('/');
$this
->request
->query
->expects($this->any())
->method('all')
->will($this->returnValue(array()));
$dispatcher = $this->getMock('Symfony\Component\EventDispatcher\EventDispatcherInterface');
$dispatcher