summaryrefslogtreecommitdiffstats
path: root/Http/Tests/Authentication/DefaultAuthenticationFailureHandlerTest.php
diff options
context:
space:
mode:
authorFabien Potencier <fabien.potencier@gmail.com>2015-09-30 14:43:37 +0200
committerFabien Potencier <fabien.potencier@gmail.com>2015-09-30 22:35:25 +0200
commitad69b0435118283f3a0662271327b2513e822d3b (patch)
tree2b39e12adb94bfff1093003b11e0b22fc6372e6e /Http/Tests/Authentication/DefaultAuthenticationFailureHandlerTest.php
parent394fa02864d7b493622e7b69b03edcce55f5aa34 (diff)
downloadsymfony-security-ad69b0435118283f3a0662271327b2513e822d3b.zip
symfony-security-ad69b0435118283f3a0662271327b2513e822d3b.tar.gz
symfony-security-ad69b0435118283f3a0662271327b2513e822d3b.tar.bz2
[HttpFoundation] removed the ParameterBag::get() deep argument
Diffstat (limited to 'Http/Tests/Authentication/DefaultAuthenticationFailureHandlerTest.php')
-rw-r--r--Http/Tests/Authentication/DefaultAuthenticationFailureHandlerTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/Http/Tests/Authentication/DefaultAuthenticationFailureHandlerTest.php b/Http/Tests/Authentication/DefaultAuthenticationFailureHandlerTest.php
index 2ed8872..adf3e83 100644
--- a/Http/Tests/Authentication/DefaultAuthenticationFailureHandlerTest.php
+++ b/Http/Tests/Authentication/DefaultAuthenticationFailureHandlerTest.php
@@ -145,7 +145,7 @@ class DefaultAuthenticationFailureHandlerTest extends \PHPUnit_Framework_TestCas
public function testFailurePathCanBeOverwrittenWithRequest()
{
$this->request->expects($this->once())
- ->method('get')->with('_failure_path', null, false)
+ ->method('get')->with('_failure_path')
->will($this->returnValue('/auth/login'));
$this->httpUtils->expects($this->once())
@@ -158,7 +158,7 @@ class DefaultAuthenticationFailureHandlerTest extends \PHPUnit_Framework_TestCas
public function testFailurePathCanBeOverwrittenWithNestedAttributeInRequest()
{
$this->request->expects($this->once())
- ->method('get')->with('_failure_path', null, false)
+ ->method('get')->with('_failure_path')
->will($this->returnValue(array('value' => '/auth/login')));
$this->httpUtils->expects($this->once())
@@ -173,7 +173,7 @@ class DefaultAuthenticationFailureHandlerTest extends \PHPUnit_Framework_TestCas
$options = array('failure_path_parameter' => '_my_failure_path');
$this->request->expects($this->once())
- ->method('get')->with('_my_failure_path', null, false)
+ ->method('get')->with('_my_failure_path')
->will($this->returnValue('/auth/login'));
$this->httpUtils->expects($this->once())