summaryrefslogtreecommitdiffstats
path: root/Core/Tests/User/ChainUserProviderTest.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 /Core/Tests/User/ChainUserProviderTest.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 'Core/Tests/User/ChainUserProviderTest.php')
-rw-r--r--Core/Tests/User/ChainUserProviderTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Core/Tests/User/ChainUserProviderTest.php b/Core/Tests/User/ChainUserProviderTest.php
index ab01f47..dae58ae 100644
--- a/Core/Tests/User/ChainUserProviderTest.php
+++ b/Core/Tests/User/ChainUserProviderTest.php
@@ -173,11 +173,11 @@ class ChainUserProviderTest extends \PHPUnit_Framework_TestCase
protected function getAccount()
{
- return $this->getMock('Symfony\Component\Security\Core\User\UserInterface');
+ return $this->getMockBuilder('Symfony\Component\Security\Core\User\UserInterface')->getMock();
}
protected function getProvider()
{
- return $this->getMock('Symfony\Component\Security\Core\User\UserProviderInterface');
+ return $this->getMockBuilder('Symfony\Component\Security\Core\User\UserProviderInterface')->getMock();
}
}