diff options
author | Fabien Potencier <fabien.potencier@gmail.com> | 2015-09-30 14:43:37 +0200 |
---|---|---|
committer | Fabien Potencier <fabien.potencier@gmail.com> | 2015-09-30 22:35:25 +0200 |
commit | ad69b0435118283f3a0662271327b2513e822d3b (patch) | |
tree | 2b39e12adb94bfff1093003b11e0b22fc6372e6e /Http/Tests/Authentication/DefaultAuthenticationFailureHandlerTest.php | |
parent | 394fa02864d7b493622e7b69b03edcce55f5aa34 (diff) | |
download | symfony-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.php | 6 |
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()) |