From c8aad3db813a3268ea940779d8e452b2d9e1e135 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Tue, 12 Mar 2019 18:27:59 +0100 Subject: Fix PHPUnit Signed-off-by: Morris Jobke --- apps/dav/tests/unit/CardDAV/CardDavBackendTest.php | 2 ++ 1 file changed, 2 insertions(+) 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(); -- cgit v1.2.3