diff options
author | Fabien Potencier <fabien.potencier@gmail.com> | 2016-12-19 17:13:57 +0100 |
---|---|---|
committer | Fabien Potencier <fabien.potencier@gmail.com> | 2016-12-19 17:13:57 +0100 |
commit | 9ba5cbed388bbf235d6ba2e2211134ff5514960f (patch) | |
tree | 669494c864e907ed8c1f286dd049c11739b93472 /Http/Tests/EntryPoint/DigestAuthenticationEntryPointTest.php | |
parent | 3b5625de42114cd121282bdfc4879a28e85d64ec (diff) | |
parent | 7a9b11f3428243d368690b9485098e2d531703e7 (diff) | |
download | symfony-security-9ba5cbed388bbf235d6ba2e2211134ff5514960f.zip symfony-security-9ba5cbed388bbf235d6ba2e2211134ff5514960f.tar.gz symfony-security-9ba5cbed388bbf235d6ba2e2211134ff5514960f.tar.bz2 |
Merge branch '3.2'
* 3.2:
fixed obsolete getMock() usage
fixed obsolete getMock() usage
fixed obsolete getMock() usage
fixed obsolete getMock() usage
[WebProfilerBundle] Display multiple HTTP headers in WDT
do not remove the Twig ExceptionController service
removed obsolete condition
do not try to register incomplete definitions
Diffstat (limited to 'Http/Tests/EntryPoint/DigestAuthenticationEntryPointTest.php')
-rw-r--r-- | Http/Tests/EntryPoint/DigestAuthenticationEntryPointTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Http/Tests/EntryPoint/DigestAuthenticationEntryPointTest.php b/Http/Tests/EntryPoint/DigestAuthenticationEntryPointTest.php index 4082986..e9c7f10 100644 --- a/Http/Tests/EntryPoint/DigestAuthenticationEntryPointTest.php +++ b/Http/Tests/EntryPoint/DigestAuthenticationEntryPointTest.php @@ -19,7 +19,7 @@ class DigestAuthenticationEntryPointTest extends \PHPUnit_Framework_TestCase { public function testStart() { - $request = $this->getMock('Symfony\Component\HttpFoundation\Request'); + $request = $this->getMockBuilder('Symfony\Component\HttpFoundation\Request')->getMock(); $authenticationException = new AuthenticationException('TheAuthenticationExceptionMessage'); @@ -32,7 +32,7 @@ class DigestAuthenticationEntryPointTest extends \PHPUnit_Framework_TestCase public function testStartWithNoException() { - $request = $this->getMock('Symfony\Component\HttpFoundation\Request'); + $request = $this->getMockBuilder('Symfony\Component\HttpFoundation\Request')->getMock(); $entryPoint = new DigestAuthenticationEntryPoint('TheRealmName', 'TheSecret'); $response = $entryPoint->start($request); @@ -43,7 +43,7 @@ class DigestAuthenticationEntryPointTest extends \PHPUnit_Framework_TestCase public function testStartWithNonceExpiredException() { - $request = $this->getMock('Symfony\Component\HttpFoundation\Request'); + $request = $this->getMockBuilder('Symfony\Component\HttpFoundation\Request')->getMock(); $nonceExpiredException = new NonceExpiredException('TheNonceExpiredExceptionMessage'); |