summaryrefslogtreecommitdiffstats
path: root/apps/dav/tests/unit/CalDAV/AbstractCalDavBackend.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-06-01 13:24:04 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2018-06-01 13:24:04 +0200
commit3ca15255f710c2c1416c091cd7473d251b31ba44 (patch)
tree08e00a8e17b6f43a34fd6f7bb23bf442f84921e9 /apps/dav/tests/unit/CalDAV/AbstractCalDavBackend.php
parentf5e16dfaa7e7ac749cf3cc13809764a260087a00 (diff)
downloadnextcloud-server-3ca15255f710c2c1416c091cd7473d251b31ba44.tar.gz
nextcloud-server-3ca15255f710c2c1416c091cd7473d251b31ba44.zip
Fix the master unit tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/dav/tests/unit/CalDAV/AbstractCalDavBackend.php')
-rw-r--r--apps/dav/tests/unit/CalDAV/AbstractCalDavBackend.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/dav/tests/unit/CalDAV/AbstractCalDavBackend.php b/apps/dav/tests/unit/CalDAV/AbstractCalDavBackend.php
index 681a159d833..d49e3bdc778 100644
--- a/apps/dav/tests/unit/CalDAV/AbstractCalDavBackend.php
+++ b/apps/dav/tests/unit/CalDAV/AbstractCalDavBackend.php
@@ -27,6 +27,7 @@ namespace OCA\DAV\Tests\unit\CalDAV;
use OCA\DAV\CalDAV\CalDavBackend;
use OCA\DAV\Connector\Sabre\Principal;
+use OCP\IConfig;
use OCP\IGroupManager;
use OCP\ILogger;
use OCP\IUserManager;
@@ -80,6 +81,7 @@ abstract class AbstractCalDavBackend extends TestCase {
$this->groupManager,
$this->createMock(ShareManager::class),
$this->createMock(IUserSession::class),
+ $this->createMock(IConfig::class),
])
->setMethods(['getPrincipalByPath', 'getGroupMembership'])
->getMock();