summaryrefslogtreecommitdiffstats
path: root/apps/provisioning_api
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2015-12-08 09:11:50 +0100
committerJoas Schilling <nickvergessen@owncloud.com>2015-12-08 09:11:50 +0100
commit5453daab03effb4f94a1da73d05fae5896226cf8 (patch)
treeefb9e920c598f62791ae50eef6ef0869847c59bd /apps/provisioning_api
parent0f1be1b60150cc92e7616834d58271ffddc19762 (diff)
downloadnextcloud-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.php10
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');