summaryrefslogtreecommitdiffstats
path: root/Http/Tests/EntryPoint/BasicAuthenticationEntryPointTest.php
diff options
context:
space:
mode:
authorFabien Potencier <fabien.potencier@gmail.com>2016-12-19 17:13:57 +0100
committerFabien Potencier <fabien.potencier@gmail.com>2016-12-19 17:13:57 +0100
commit9ba5cbed388bbf235d6ba2e2211134ff5514960f (patch)
tree669494c864e907ed8c1f286dd049c11739b93472 /Http/Tests/EntryPoint/BasicAuthenticationEntryPointTest.php
parent3b5625de42114cd121282bdfc4879a28e85d64ec (diff)
parent7a9b11f3428243d368690b9485098e2d531703e7 (diff)
downloadsymfony-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/BasicAuthenticationEntryPointTest.php')
-rw-r--r--Http/Tests/EntryPoint/BasicAuthenticationEntryPointTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Http/Tests/EntryPoint/BasicAuthenticationEntryPointTest.php b/Http/Tests/EntryPoint/BasicAuthenticationEntryPointTest.php
index ca5922c..359c6de 100644
--- a/Http/Tests/EntryPoint/BasicAuthenticationEntryPointTest.php
+++ b/Http/Tests/EntryPoint/BasicAuthenticationEntryPointTest.php
@@ -18,7 +18,7 @@ class BasicAuthenticationEntryPointTest extends \PHPUnit_Framework_TestCase
{
public function testStart()
{
- $request = $this->getMock('Symfony\Component\HttpFoundation\Request');
+ $request = $this->getMockBuilder('Symfony\Component\HttpFoundation\Request')->getMock();
$authException = new AuthenticationException('The exception message');
@@ -31,7 +31,7 @@ class BasicAuthenticationEntryPointTest extends \PHPUnit_Framework_TestCase
public function testStartWithoutAuthException()
{
- $request = $this->getMock('Symfony\Component\HttpFoundation\Request');
+ $request = $this->getMockBuilder('Symfony\Component\HttpFoundation\Request')->getMock();
$entryPoint = new BasicAuthenticationEntryPoint('TheRealmName');