From 5cc5107cba1bc35d51d28569bf46813cc89f26c6 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Tue, 12 Mar 2019 18:41:37 +0100 Subject: [PATCH] Fix PHPUnit Signed-off-by: Morris Jobke --- apps/dav/tests/unit/CalDAV/AbstractCalDavBackend.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/dav/tests/unit/CalDAV/AbstractCalDavBackend.php b/apps/dav/tests/unit/CalDAV/AbstractCalDavBackend.php index 63d48910f8..795a04e2cb 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\App\IAppManager; use OCP\IConfig; use OCP\IGroupManager; use OCP\ILogger; @@ -83,6 +84,7 @@ abstract class AbstractCalDavBackend extends TestCase { $this->createMock(ShareManager::class), $this->createMock(IUserSession::class), $this->createMock(IConfig::class), + $this->createMock(IAppManager::class), ]) ->setMethods(['getPrincipalByPath', 'getGroupMembership']) ->getMock();