summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabien Potencier <fabien.potencier@gmail.com>2014-09-27 11:38:21 +0200
committerFabien Potencier <fabien.potencier@gmail.com>2014-09-27 11:38:21 +0200
commit7eaad004a9251cf004f201bfc87b424b97f89f05 (patch)
tree5b95cdcc48be4191e9504e432928d5525edfb985
parent0268d3e6acd0a993bb72cf632cb85703b893b80a (diff)
downloadsymfony-security-7eaad004a9251cf004f201bfc87b424b97f89f05.zip
symfony-security-7eaad004a9251cf004f201bfc87b424b97f89f05.tar.gz
symfony-security-7eaad004a9251cf004f201bfc87b424b97f89f05.tar.bz2
fixed tests
-rw-r--r--Http/Tests/Firewall/AnonymousAuthenticationListenerTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/Http/Tests/Firewall/AnonymousAuthenticationListenerTest.php b/Http/Tests/Firewall/AnonymousAuthenticationListenerTest.php
index e6bab4e..0f43aa0 100644
--- a/Http/Tests/Firewall/AnonymousAuthenticationListenerTest.php
+++ b/Http/Tests/Firewall/AnonymousAuthenticationListenerTest.php
@@ -35,7 +35,7 @@ class AnonymousAuthenticationListenerTest extends \PHPUnit_Framework_TestCase
->method('authenticate')
;
- $listener = new AnonymousAuthenticationListener($context, 'TheKey', $authenticationManager);
+ $listener = new AnonymousAuthenticationListener($context, 'TheKey', null, $authenticationManager);
$listener->handle($this->getMock('Symfony\Component\HttpKernel\Event\GetResponseEvent', array(), array(), '', false));
}
@@ -67,7 +67,7 @@ class AnonymousAuthenticationListenerTest extends \PHPUnit_Framework_TestCase
->with($anonymousToken)
;
- $listener = new AnonymousAuthenticationListener($context, 'TheKey', $authenticationManager);
+ $listener = new AnonymousAuthenticationListener($context, 'TheKey', null, $authenticationManager);
$listener->handle($this->getMock('Symfony\Component\HttpKernel\Event\GetResponseEvent', array(), array(), '', false));
}
@@ -86,7 +86,7 @@ class AnonymousAuthenticationListenerTest extends \PHPUnit_Framework_TestCase
$authenticationManager = $this->getMock('Symfony\Component\Security\Core\Authentication\AuthenticationManagerInterface');
- $listener = new AnonymousAuthenticationListener($context, 'TheKey', $authenticationManager, $logger);
+ $listener = new AnonymousAuthenticationListener($context, 'TheKey', $logger, $authenticationManager);
$listener->handle($this->getMock('Symfony\Component\HttpKernel\Event\GetResponseEvent', array(), array(), '', false));
}
}