8000 [Security/Http] Fix test · symfony/symfony@6a45129 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6a45129

Browse files
[Security/Http] Fix test
1 parent 7004870 commit 6a45129

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Symfony/Component/Security/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)
0