Skip to content
This repository was archived by the owner on May 31, 2024. It is now read-only.

Commit 5e1c369

Browse files
[Security/Http] Fix test
1 parent 385b0a5 commit 5e1c369

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Http/Tests/Firewall/SwitchUserListenerTest.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,12 @@ public function testExitUserDispatchesEventWithRefreshedUser()
138138
->expects($this->any())
139139
->method('getUri')
140140
->willReturn('/');
141+
$this
142+
->request
143+
->query
144+
->expects($this->any())
145+
->method('all')
146+
->will($this->returnValue(array()));
141147

142148
$dispatcher = $this->getMock('Symfony\Component\EventDispatcher\EventDispatcherInterface');
143149
$dispatcher

0 commit comments

Comments
 (0)