diff options
author | Fabien Potencier <fabien.potencier@gmail.com> | 2015-10-01 08:29:29 +0200 |
---|---|---|
committer | Fabien Potencier <fabien.potencier@gmail.com> | 2015-10-01 08:29:29 +0200 |
commit | ae6bc2818c335a0c32d93dca98f4f94a1c3fb92e (patch) | |
tree | 7d71edef49d5824f0b070c0d0aacdab21b420ba6 | |
parent | 3026c37b81a8839e6e6882f53a91a1a907cd8351 (diff) | |
parent | ad69b0435118283f3a0662271327b2513e822d3b (diff) | |
download | symfony-security-ae6bc2818c335a0c32d93dca98f4f94a1c3fb92e.zip symfony-security-ae6bc2818c335a0c32d93dca98f4f94a1c3fb92e.tar.gz symfony-security-ae6bc2818c335a0c32d93dca98f4f94a1c3fb92e.tar.bz2 |
feature #16019 [HttpFoundation] removed the ParameterBag::get() deep argument (fabpot)
This PR was merged into the 3.0-dev branch.
Discussion
----------
[HttpFoundation] removed the ParameterBag::get() deep argument
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | n/a
| License | MIT
| Doc PR | n/a
Commits
-------
317f7b4 [HttpFoundation] removed the ParameterBag::get() deep argument
-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()) |