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:
Fabien Potencier 2016-04-06 09:46:14 +02:00
commit 192e821211
1 changed files with 0 additions and 1 deletions

View File

@ -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())