From c733cdaa65ea473b848fb8329674145f54c1277b Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Thu, 26 Oct 2017 13:46:16 +0200 Subject: Use ::class in test mocks of encryption app Signed-off-by: Morris Jobke --- apps/federatedfilesharing/tests/TokenHandlerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/federatedfilesharing/tests/TokenHandlerTest.php') 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); } -- cgit v1.2.3