summaryrefslogtreecommitdiffstats
path: root/Guard/Tests/GuardAuthenticatorHandlerTest.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 /Guard/Tests/GuardAuthenticatorHandlerTest.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 'Guard/Tests/GuardAuthenticatorHandlerTest.php')
-rw-r--r--Guard/Tests/GuardAuthenticatorHandlerTest.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/Guard/Tests/GuardAuthenticatorHandlerTest.php b/Guard/Tests/GuardAuthenticatorHandlerTest.php
index 6f36702..58a3e17 100644
--- a/Guard/Tests/GuardAuthenticatorHandlerTest.php
+++ b/Guard/Tests/GuardAuthenticatorHandlerTest.php
@@ -123,11 +123,11 @@ class GuardAuthenticatorHandlerTest extends \PHPUnit_Framework_TestCase
protected function setUp()
{
- $this->tokenStorage = $this->getMock('Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface');
- $this->dispatcher = $this->getMock('Symfony\Component\EventDispatcher\EventDispatcherInterface');
- $this->token = $this->getMock('Symfony\Component\Security\Core\Authentication\Token\TokenInterface');
+ $this->tokenStorage = $this->getMockBuilder('Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface')->getMock();
+ $this->dispatcher = $this->getMockBuilder('Symfony\Component\EventDispatcher\EventDispatcherInterface')->getMock();
+ $this->token = $this->getMockBuilder('Symfony\Component\Security\Core\Authentication\Token\TokenInterface')->getMock();
$this->request = new Request(array(), array(), array(), array(), array(), array());
- $this->guardAuthenticator = $this->getMock('Symfony\Component\Security\Guard\GuardAuthenticatorInterface');
+ $this->guardAuthenticator = $this->getMockBuilder('Symfony\Component\Security\Guard\GuardAuthenticatorInterface')->getMock();
}
protected function tearDown()