diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2015-12-08 09:11:50 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2015-12-08 09:11:50 +0100 |
commit | 5453daab03effb4f94a1da73d05fae5896226cf8 (patch) | |
tree | efb9e920c598f62791ae50eef6ef0869847c59bd /apps/provisioning_api | |
parent | 0f1be1b60150cc92e7616834d58271ffddc19762 (diff) | |
download | nextcloud-server-5453daab03effb4f94a1da73d05fae5896226cf8.tar.gz nextcloud-server-5453daab03effb4f94a1da73d05fae5896226cf8.zip |
More fixes to the docs
Diffstat (limited to 'apps/provisioning_api')
-rw-r--r-- | apps/provisioning_api/tests/groupstest.php | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/apps/provisioning_api/tests/groupstest.php b/apps/provisioning_api/tests/groupstest.php index f21c217e67e..f4f3b194944 100644 --- a/apps/provisioning_api/tests/groupstest.php +++ b/apps/provisioning_api/tests/groupstest.php @@ -30,13 +30,13 @@ use OCP\IUserSession; use OCP\IRequest; class GroupsTest extends \Test\TestCase { - /** @var IGroupManager */ + /** @var IGroupManager|\PHPUnit_Framework_MockObject_MockObject */ protected $groupManager; - /** @var IUserSession */ + /** @var IUserSession|\PHPUnit_Framework_MockObject_MockObject */ protected $userSession; - /** @var IRequest */ + /** @var IRequest|\PHPUnit_Framework_MockObject_MockObject */ protected $request; - /** @var \OC\SubAdmin */ + /** @var \OC\SubAdmin|\PHPUnit_Framework_MockObject_MockObject */ protected $subAdminManager; /** @var \OCA\Provisioning_API\Groups */ protected $api; @@ -60,6 +60,7 @@ class GroupsTest extends \Test\TestCase { /** * @param string $gid + * @return \OCP\IGroup|\PHPUnit_Framework_MockObject_MockObject */ private function createGroup($gid) { $group = $this->getMock('OCP\IGroup'); @@ -71,6 +72,7 @@ class GroupsTest extends \Test\TestCase { /** * @param string $uid + * @return \OCP\IUser|\PHPUnit_Framework_MockObject_MockObject */ private function createUser($uid) { $user = $this->getMock('OCP\IUser'); |