minor #18451 [Security] remove unused variable (xabbuh)
This PR was merged into the 2.3 branch.
Discussion
----------
[Security] remove unused variable
| Q | A
| ------------- | ---
| Branch? | 2.3
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets |
| License | MIT
| Doc PR |
Commits
-------
d5964ae
remove unused variable
This commit is contained in:
commit
192e821211
|
@ -152,7 +152,6 @@ class SwitchUserListenerTest extends \PHPUnit_Framework_TestCase
|
|||
public function testExitUserDoesNotDispatchEventWithStringUser()
|
||||
{
|
||||
$originalUser = 'anon.';
|
||||
$refreshedUser = $this->getMock('Symfony\Component\Security\Core\User\UserInterface');
|
||||
$this
|
||||
->userProvider
|
||||
->expects($this->never())
|
||||
|
|
Reference in New Issue