diff options
author | Nicolas Grekas <nicolas.grekas@gmail.com> | 2016-08-26 13:44:05 +0200 |
---|---|---|
committer | Nicolas Grekas <nicolas.grekas@gmail.com> | 2016-08-26 13:57:43 +0200 |
commit | cc1acd8d76c84b8bddbf0ad884954ba0523e5c7d (patch) | |
tree | 095ed6910d794102ac873258183b3244013fa4b2 /Http/Tests/Authentication/DefaultAuthenticationSuccessHandlerTest.php | |
parent | d46dc33fbe1f845398e90e36410965e8de71075c (diff) | |
parent | 66a4782ddd0539e1b4f2ae2b4058a04af5d21aab (diff) | |
download | symfony-security-cc1acd8d76c84b8bddbf0ad884954ba0523e5c7d.zip symfony-security-cc1acd8d76c84b8bddbf0ad884954ba0523e5c7d.tar.gz symfony-security-cc1acd8d76c84b8bddbf0ad884954ba0523e5c7d.tar.bz2 |
Merge branch '2.7' into 2.8v2.8.10
* 2.7:
[Validator][GroupSequence] fixed GroupSequence validation ignores PropertyMetadata of parent classes
[FrameworkBundle][Security] Remove useless mocks
[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/Authentication/DefaultAuthenticationSuccessHandlerTest.php')
-rw-r--r-- | Http/Tests/Authentication/DefaultAuthenticationSuccessHandlerTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Http/Tests/Authentication/DefaultAuthenticationSuccessHandlerTest.php b/Http/Tests/Authentication/DefaultAuthenticationSuccessHandlerTest.php index 2c22da6..5372993 100644 --- a/Http/Tests/Authentication/DefaultAuthenticationSuccessHandlerTest.php +++ b/Http/Tests/Authentication/DefaultAuthenticationSuccessHandlerTest.php @@ -11,6 +11,7 @@ namespace Symfony\Component\Security\Http\Tests\Authentication; +use Symfony\Component\HttpFoundation\Response; use Symfony\Component\Security\Http\Authentication\DefaultAuthenticationSuccessHandler; class DefaultAuthenticationSuccessHandlerTest extends \PHPUnit_Framework_TestCase @@ -171,8 +172,7 @@ class DefaultAuthenticationSuccessHandlerTest extends \PHPUnit_Framework_TestCas private function expectRedirectResponse($path) { - $response = $this->getMock('Symfony\Component\HttpFoundation\Response'); - + $response = new Response(); $this->httpUtils->expects($this->once()) ->method('createRedirectResponse') ->with($this->request, $path) |