summaryrefslogtreecommitdiffstats
path: root/apps/federatedfilesharing/tests/TokenHandlerTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/federatedfilesharing/tests/TokenHandlerTest.php')
-rw-r--r--apps/federatedfilesharing/tests/TokenHandlerTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/federatedfilesharing/tests/TokenHandlerTest.php b/apps/federatedfilesharing/tests/TokenHandlerTest.php
index 10e5fc5df51..2025b90e00b 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->getMockBuilder('OCP\Security\ISecureRandom')->getMock();
+ $this->secureRandom = $this->getMockBuilder(ISecureRandom::class)->getMock();
$this->tokenHandler = new TokenHandler($this->secureRandom);
}