diff options
author | Nicolas Grekas <nicolas.grekas@gmail.com> | 2015-06-30 18:51:15 +0200 |
---|---|---|
committer | Nicolas Grekas <nicolas.grekas@gmail.com> | 2015-06-30 18:51:15 +0200 |
commit | 5e1c369074daca0707bc1845ed9b8f907ffd6ef9 (patch) | |
tree | 6b1551109b630714e13f2c144fce1507b8f3cdee | |
parent | 385b0a54583ce0fc43a2489855951c6ea4ef9be8 (diff) | |
download | symfony-security-5e1c369074daca0707bc1845ed9b8f907ffd6ef9.zip symfony-security-5e1c369074daca0707bc1845ed9b8f907ffd6ef9.tar.gz symfony-security-5e1c369074daca0707bc1845ed9b8f907ffd6ef9.tar.bz2 |
[Security/Http] Fix test
-rw-r--r-- | Http/Tests/Firewall/SwitchUserListenerTest.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Http/Tests/Firewall/SwitchUserListenerTest.php b/Http/Tests/Firewall/SwitchUserListenerTest.php index 2be0325..a3c96f2 100644 --- a/Http/Tests/Firewall/SwitchUserListenerTest.php +++ b/Http/Tests/Firewall/SwitchUserListenerTest.php @@ -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 |