diff options
Diffstat (limited to 'apps/federatedfilesharing/tests/TokenHandlerTest.php')
-rw-r--r-- | apps/federatedfilesharing/tests/TokenHandlerTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/federatedfilesharing/tests/TokenHandlerTest.php b/apps/federatedfilesharing/tests/TokenHandlerTest.php index e6fc470b553..10e5fc5df51 100644 --- a/apps/federatedfilesharing/tests/TokenHandlerTest.php +++ b/apps/federatedfilesharing/tests/TokenHandlerTest.php @@ -42,7 +42,7 @@ class TokenHandlerTest extends \Test\TestCase { public function setUp() { parent::setUp(); - $this->secureRandom = $this->getMock('OCP\Security\ISecureRandom'); + $this->secureRandom = $this->getMockBuilder('OCP\Security\ISecureRandom')->getMock(); $this->tokenHandler = new TokenHandler($this->secureRandom); } |