summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Grekas <nicolas.grekas@gmail.com>2015-06-30 18:51:15 +0200
committerNicolas Grekas <nicolas.grekas@gmail.com>2015-06-30 18:51:15 +0200
commit5e1c369074daca0707bc1845ed9b8f907ffd6ef9 (patch)
tree6b1551109b630714e13f2c144fce1507b8f3cdee
parent385b0a54583ce0fc43a2489855951c6ea4ef9be8 (diff)
downloadsymfony-security-5e1c369074daca0707bc1845ed9b8f907ffd6ef9.zip
symfony-security-5e1c369074daca0707bc1845ed9b8f907ffd6ef9.tar.gz
symfony-security-5e1c369074daca0707bc1845ed9b8f907ffd6ef9.tar.bz2
[Security/Http] Fix test
-rw-r--r--Http/Tests/Firewall/SwitchUserListenerTest.php6
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