aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/tests/unit/connector/sabre
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-01-08 12:11:02 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-01-08 12:11:02 +0100
commitf9c08112da9e263ccb98a48c228deb31f3046b61 (patch)
tree51605b4a4b73f208ac538baf58820c1f3274c1a3 /apps/dav/tests/unit/connector/sabre
parenta0345b94650f9ded7b86d53b27624557868747e4 (diff)
downloadnextcloud-server-f9c08112da9e263ccb98a48c228deb31f3046b61.tar.gz
nextcloud-server-f9c08112da9e263ccb98a48c228deb31f3046b61.zip
Adding group principals to new dav endpoint
Diffstat (limited to 'apps/dav/tests/unit/connector/sabre')
-rw-r--r--apps/dav/tests/unit/connector/sabre/principal.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/apps/dav/tests/unit/connector/sabre/principal.php b/apps/dav/tests/unit/connector/sabre/principal.php
index 9a6ae545b58..160d5744260 100644
--- a/apps/dav/tests/unit/connector/sabre/principal.php
+++ b/apps/dav/tests/unit/connector/sabre/principal.php
@@ -17,18 +17,14 @@ use OCP\IConfig;
class Principal extends \Test\TestCase {
/** @var IUserManager */
private $userManager;
- /** @var IConfig */
- private $config;
/** @var \OCA\DAV\Connector\Sabre\Principal */
private $connector;
public function setUp() {
$this->userManager = $this->getMockBuilder('\OCP\IUserManager')
->disableOriginalConstructor()->getMock();
- $this->config = $this->getMockBuilder('\OCP\IConfig')
- ->disableOriginalConstructor()->getMock();
- $this->connector = new \OCA\DAV\Connector\Sabre\Principal($this->config, $this->userManager);
+ $this->connector = new \OCA\DAV\Connector\Sabre\Principal($this->userManager);
parent::setUp();
}