summaryrefslogtreecommitdiffstats
path: root/Http/Tests/Logout/DefaultLogoutSuccessHandlerTest.php
diff options
context:
space:
mode:
authorNicolas Grekas <nicolas.grekas@gmail.com>2016-08-26 14:08:28 +0200
committerNicolas Grekas <nicolas.grekas@gmail.com>2016-08-26 14:08:28 +0200
commitf57cf66f5b86da93a8b37e74bc431554758f4c31 (patch)
tree04104712160e8486be7713a95678ee654f49d7b1 /Http/Tests/Logout/DefaultLogoutSuccessHandlerTest.php
parent66c4d38328fd1e985067153c76e2238206f97bd8 (diff)
parent1e647f605f41c2d7a29be9e38365adf85b68b1c9 (diff)
downloadsymfony-security-f57cf66f5b86da93a8b37e74bc431554758f4c31.zip
symfony-security-f57cf66f5b86da93a8b37e74bc431554758f4c31.tar.gz
symfony-security-f57cf66f5b86da93a8b37e74bc431554758f4c31.tar.bz2
Merge branch '3.1'
* 3.1: fix typo add "provides" for psr/cache-implementation [Validator][GroupSequence] fixed GroupSequence validation ignores PropertyMetadata of parent classes [FrameworkBundle][Security] Remove useless mocks Add symfony/inflector to composer.json "replaces" [DoctrineBridge] Enhance exception message in EntityUserProvider added friendly exception when constraint validator does not exist or it is not enabled remove duplicate instruction [FrameworkBundle] Remove TranslatorBagInterface check [FrameworkBundle] Remove duplicated code in RouterDebugCommand [Validator] fixed duplicate constraints with parent class interfaces SecurityBundle:BasicAuthenticationListener: removed a default argument on getting a header value
Diffstat (limited to 'Http/Tests/Logout/DefaultLogoutSuccessHandlerTest.php')
-rw-r--r--Http/Tests/Logout/DefaultLogoutSuccessHandlerTest.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/Http/Tests/Logout/DefaultLogoutSuccessHandlerTest.php b/Http/Tests/Logout/DefaultLogoutSuccessHandlerTest.php
index 381a48e..8a94e53 100644
--- a/Http/Tests/Logout/DefaultLogoutSuccessHandlerTest.php
+++ b/Http/Tests/Logout/DefaultLogoutSuccessHandlerTest.php
@@ -11,6 +11,7 @@
namespace Symfony\Component\Security\Http\Tests\Logout;
+use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Security\Http\Logout\DefaultLogoutSuccessHandler;
class DefaultLogoutSuccessHandlerTest extends \PHPUnit_Framework_TestCase
@@ -18,7 +19,7 @@ class DefaultLogoutSuccessHandlerTest extends \PHPUnit_Framework_TestCase
public function testLogout()
{
$request = $this->getMock('Symfony\Component\HttpFoundation\Request');
- $response = $this->getMock('Symfony\Component\HttpFoundation\Response');
+ $response = new Response();
$httpUtils = $this->getMock('Symfony\Component\Security\Http\HttpUtils');
$httpUtils->expects($this->once())