aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/tests
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2019-03-12 18:27:59 +0100
committerMorris Jobke <hey@morrisjobke.de>2019-03-12 18:27:59 +0100
commitc8aad3db813a3268ea940779d8e452b2d9e1e135 (patch)
tree3c9d1a91eebb1e69d8a8eb407c4b38c9cffc9261 /apps/dav/tests
parentdd2496b2756633a961424560934a216ab1048e1b (diff)
downloadnextcloud-server-c8aad3db813a3268ea940779d8e452b2d9e1e135.tar.gz
nextcloud-server-c8aad3db813a3268ea940779d8e452b2d9e1e135.zip
Fix PHPUnit
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'apps/dav/tests')
-rw-r--r--apps/dav/tests/unit/CardDAV/CardDavBackendTest.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/dav/tests/unit/CardDAV/CardDavBackendTest.php b/apps/dav/tests/unit/CardDAV/CardDavBackendTest.php
index 00a485a7d9b..86c85a972e3 100644
--- a/apps/dav/tests/unit/CardDAV/CardDavBackendTest.php
+++ b/apps/dav/tests/unit/CardDAV/CardDavBackendTest.php
@@ -35,6 +35,7 @@ use InvalidArgumentException;
use OCA\DAV\CardDAV\AddressBook;
use OCA\DAV\CardDAV\CardDavBackend;
use OCA\DAV\Connector\Sabre\Principal;
+use OCP\App\IAppManager;
use OCP\DB\QueryBuilder\IQueryBuilder;
use OCP\IConfig;
use OCP\IDBConnection;
@@ -131,6 +132,7 @@ class CardDavBackendTest extends TestCase {
$this->createMock(ShareManager::class),
$this->createMock(IUserSession::class),
$this->createMock(IConfig::class),
+ $this->createMock(IAppManager::class),
])
->setMethods(['getPrincipalByPath', 'getGroupMembership'])
->getMock();