diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-10-26 16:02:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-26 16:02:01 +0200 |
commit | c25b694fcafa3138d78645f81cc6ecd1d34d1656 (patch) | |
tree | fa1bebe361ee81a1c3e8ead10263af65610f6d97 /apps/provisioning_api/tests | |
parent | 06f46bd25614c080b75558e8372124142906d977 (diff) | |
parent | c733cdaa65ea473b848fb8329674145f54c1277b (diff) | |
download | nextcloud-server-c25b694fcafa3138d78645f81cc6ecd1d34d1656.tar.gz nextcloud-server-c25b694fcafa3138d78645f81cc6ecd1d34d1656.zip |
Merge pull request #6970 from nextcloud/class-usage-in-mocks-encryption-app
Use ::class in test mocks of encryption app
Diffstat (limited to 'apps/provisioning_api/tests')
-rw-r--r-- | apps/provisioning_api/tests/Controller/GroupsControllerTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
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) |