summaryrefslogtreecommitdiffstats
path: root/Tests/Http/Session/SessionAuthenticationStrategyTest.php
diff options
context:
space:
mode:
authorJakub Zalas <jakub@zalas.pl>2013-05-24 19:40:30 +0100
committerJakub Zalas <jakub@zalas.pl>2013-05-25 13:04:50 +0100
commitf70732f96bf3568d2db44e69c298f26cecc160cc (patch)
tree888d367878681f612abdf7e178ac77485bf9cfcf /Tests/Http/Session/SessionAuthenticationStrategyTest.php
parent3767e4b66ef8b53be3b7bf4275e5ed82e3569d72 (diff)
downloadsymfony-security-f70732f96bf3568d2db44e69c298f26cecc160cc.zip
symfony-security-f70732f96bf3568d2db44e69c298f26cecc160cc.tar.gz
symfony-security-f70732f96bf3568d2db44e69c298f26cecc160cc.tar.bz2
[Security] Added tests for the DefaultLogoutSuccessHandler.
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 896d6ad..43c52b5 100644
--- a/Tests/Http/Session/SessionAuthenticationStrategyTest.php
+++ b/Tests/Http/Session/SessionAuthenticationStrategyTest.php
@@ -66,7 +66,7 @@ class SessionAuthenticationStrategyTest extends \PHPUnit_Framework_TestCase
{
$request = $this->getMock('Symfony\Component\HttpFoundation\Request');
- if (!is_null($session)) {
+ if (null !== $session) {
$request->expects($this->any())->method('getSession')->will($this->returnValue($session));
}