diff options
author | Morris Jobke <hey@morrisjobke.de> | 2019-03-12 18:27:59 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2019-03-12 18:27:59 +0100 |
commit | c8aad3db813a3268ea940779d8e452b2d9e1e135 (patch) | |
tree | 3c9d1a91eebb1e69d8a8eb407c4b38c9cffc9261 /apps/dav | |
parent | dd2496b2756633a961424560934a216ab1048e1b (diff) | |
download | nextcloud-server-c8aad3db813a3268ea940779d8e452b2d9e1e135.tar.gz nextcloud-server-c8aad3db813a3268ea940779d8e452b2d9e1e135.zip |
Fix PHPUnit
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'apps/dav')
-rw-r--r-- | apps/dav/tests/unit/CardDAV/CardDavBackendTest.php | 2 |
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(); |