summaryrefslogtreecommitdiffstats
path: root/Csrf/Tests/TokenGenerator/UriSafeTokenGeneratorTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'Csrf/Tests/TokenGenerator/UriSafeTokenGeneratorTest.php')
-rw-r--r--Csrf/Tests/TokenGenerator/UriSafeTokenGeneratorTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Csrf/Tests/TokenGenerator/UriSafeTokenGeneratorTest.php b/Csrf/Tests/TokenGenerator/UriSafeTokenGeneratorTest.php
index 1b325e5..afbaa7c 100644
--- a/Csrf/Tests/TokenGenerator/UriSafeTokenGeneratorTest.php
+++ b/Csrf/Tests/TokenGenerator/UriSafeTokenGeneratorTest.php
@@ -44,7 +44,7 @@ class UriSafeTokenGeneratorTest extends \PHPUnit_Framework_TestCase
protected function setUp()
{
- $this->random = $this->getMock('Symfony\Component\Security\Core\Util\SecureRandomInterface');
+ $this->random = $this->getMockBuilder('Symfony\Component\Security\Core\Util\SecureRandomInterface')->getMock();
$this->generator = new UriSafeTokenGenerator($this->random, self::ENTROPY);
}