Skip to content

Commit 9116399

Browse files
committed
fixup! Expose status via Collaborators API
1 parent 098f816 commit 9116399

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

apps/files_sharing/tests/ApiTest.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
use OCP\IRequest;
4747
use OCP\IServerContainer;
4848
use OCP\Share\IShare;
49+
use OCP\UserStatus\IManager as IUserStatusManager;
4950

5051
/**
5152
* Class ApiTest
@@ -114,6 +115,7 @@ private function createOCS($userId) {
114115
$config = $this->createMock(IConfig::class);
115116
$appManager = $this->createMock(IAppManager::class);
116117
$serverContainer = $this->createMock(IServerContainer::class);
118+
$userStatusManager = $this->createMock(IUserStatusManager::class);
117119

118120
return new ShareAPIController(
119121
self::APP_NAME,
@@ -127,7 +129,8 @@ private function createOCS($userId) {
127129
$l,
128130
$config,
129131
$appManager,
130-
$serverContainer
132+
$serverContainer,
133+
$userStatusManager
131134
);
132135
}
133136

0 commit comments

Comments
 (0)