Fix PHPUnit
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
c8aad3db81
commit
5cc5107cba
|
@ -27,6 +27,7 @@ namespace OCA\DAV\Tests\unit\CalDAV;
|
||||||
|
|
||||||
use OCA\DAV\CalDAV\CalDavBackend;
|
use OCA\DAV\CalDAV\CalDavBackend;
|
||||||
use OCA\DAV\Connector\Sabre\Principal;
|
use OCA\DAV\Connector\Sabre\Principal;
|
||||||
|
use OCP\App\IAppManager;
|
||||||
use OCP\IConfig;
|
use OCP\IConfig;
|
||||||
use OCP\IGroupManager;
|
use OCP\IGroupManager;
|
||||||
use OCP\ILogger;
|
use OCP\ILogger;
|
||||||
|
@ -83,6 +84,7 @@ abstract class AbstractCalDavBackend extends TestCase {
|
||||||
$this->createMock(ShareManager::class),
|
$this->createMock(ShareManager::class),
|
||||||
$this->createMock(IUserSession::class),
|
$this->createMock(IUserSession::class),
|
||||||
$this->createMock(IConfig::class),
|
$this->createMock(IConfig::class),
|
||||||
|
$this->createMock(IAppManager::class),
|
||||||
])
|
])
|
||||||
->setMethods(['getPrincipalByPath', 'getGroupMembership'])
|
->setMethods(['getPrincipalByPath', 'getGroupMembership'])
|
||||||
->getMock();
|
->getMock();
|
||||||
|
|
Loading…
Reference in New Issue