summaryrefslogtreecommitdiffstats
path: root/Tests/Http
diff options
context:
space:
mode:
authorChristian Flothmann <christian.flothmann@xabbuh.de>2016-03-25 09:55:34 +0100
committerChristian Flothmann <christian.flothmann@xabbuh.de>2016-03-25 10:45:26 +0100
commitf9e167fde187546f3eb91f62d8de5ba36483a70a (patch)
tree76b8fe393817611c27a319770cfe9a6544aee7e5 /Tests/Http
parent7dbb63e02629f9223fb012ba34f6bf94a3a12c3f (diff)
downloadsymfony-security-f9e167fde187546f3eb91f62d8de5ba36483a70a.zip
symfony-security-f9e167fde187546f3eb91f62d8de5ba36483a70a.tar.gz
symfony-security-f9e167fde187546f3eb91f62d8de5ba36483a70a.tar.bz2
fix mocks
* fix a typo in a method name (`setResponse` instead of `seetResopnse`) * fix mocking a method that is not part of the `DomainObjectInterface`
Diffstat (limited to 'Tests/Http')
-rw-r--r--Tests/Http/Firewall/SwitchUserListenerTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/Http/Firewall/SwitchUserListenerTest.php b/Tests/Http/Firewall/SwitchUserListenerTest.php
index 7ba71d4..1852751 100644
--- a/Tests/Http/Firewall/SwitchUserListenerTest.php
+++ b/Tests/Http/Firewall/SwitchUserListenerTest.php
@@ -53,7 +53,7 @@ class SwitchUserListenerTest extends \PHPUnit_Framework_TestCase
{
$this->request->expects($this->any())->method('get')->with('_switch_user')->will($this->returnValue(null));
- $this->event->expects($this->never())->method('setResopnse');
+ $this->event->expects($this->never())->method('setResponse');
$this->securityContext->expects($this->never())->method('setToken');
$listener = new SwitchUserListener($this->securityContext, $this->userProvider, $this->userChecker, 'provider123', $this->accessDecisionManager);