diff --git a/src/Symfony/Component/Security/Tests/Http/Firewall/SwitchUserListenerTest.php b/src/Symfony/Component/Security/Tests/Http/Firewall/SwitchUserListenerTest.php index 1ee6ea5e52..4e795c8d62 100644 --- a/src/Symfony/Component/Security/Tests/Http/Firewall/SwitchUserListenerTest.php +++ b/src/Symfony/Component/Security/Tests/Http/Firewall/SwitchUserListenerTest.php @@ -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())