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/provisioning_api/tests/Controller/GroupsControllerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/provisioning_api/tests/Controller/GroupsControllerTest.php') diff --git a/apps/provisioning_api/tests/Controller/GroupsControllerTest.php b/apps/provisioning_api/tests/Controller/GroupsControllerTest.php index 9d70e123cde..cd3dae79336 100644 --- a/apps/provisioning_api/tests/Controller/GroupsControllerTest.php +++ b/apps/provisioning_api/tests/Controller/GroupsControllerTest.php @@ -58,7 +58,7 @@ class GroupsControllerTest extends \Test\TestCase { ->method('getSubAdmin') ->willReturn($this->subAdminManager); - $this->userSession = $this->getMockBuilder('OCP\IUserSession') + $this->userSession = $this->getMockBuilder(IUserSession::class) ->disableOriginalConstructor() ->getMock(); $request = $this->getMockBuilder(IRequest::class) -- cgit v1.2.3