summaryrefslogtreecommitdiffstats
path: root/Tests/Http/Session/SessionAuthenticationStrategyTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/Http/Session/SessionAuthenticationStrategyTest.php')
-rw-r--r--Tests/Http/Session/SessionAuthenticationStrategyTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/Http/Session/SessionAuthenticationStrategyTest.php b/Tests/Http/Session/SessionAuthenticationStrategyTest.php
index 43c52b5..431a002 100644
--- a/Tests/Http/Session/SessionAuthenticationStrategyTest.php
+++ b/Tests/Http/Session/SessionAuthenticationStrategyTest.php
@@ -47,7 +47,7 @@ class SessionAuthenticationStrategyTest extends \PHPUnit_Framework_TestCase
public function testSessionIsMigrated()
{
$session = $this->getMock('Symfony\Component\HttpFoundation\Session\SessionInterface');
- $session->expects($this->once())->method('migrate');
+ $session->expects($this->once())->method('migrate')->with($this->equalTo(true));
$strategy = new SessionAuthenticationStrategy(SessionAuthenticationStrategy::MIGRATE);
$strategy->onAuthentication($this->getRequest($session), $this->getToken());