Skip to content

Commit

Permalink
fixup! Expose status via Collaborators API
Browse files Browse the repository at this point in the history
  • Loading branch information
georgehrke committed Aug 14, 2020
1 parent 098f816 commit 9116399
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion apps/files_sharing/tests/ApiTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
use OCP\IRequest;
use OCP\IServerContainer;
use OCP\Share\IShare;
use OCP\UserStatus\IManager as IUserStatusManager;

/**
* Class ApiTest
Expand Down Expand Up @@ -114,6 +115,7 @@ private function createOCS($userId) {
$config = $this->createMock(IConfig::class);
$appManager = $this->createMock(IAppManager::class);
$serverContainer = $this->createMock(IServerContainer::class);
$userStatusManager = $this->createMock(IUserStatusManager::class);

return new ShareAPIController(
self::APP_NAME,
Expand All @@ -127,7 +129,8 @@ private function createOCS($userId) {
$l,
$config,
$appManager,
$serverContainer
$serverContainer,
$userStatusManager
);
}

Expand Down

0 comments on commit 9116399

Please sign in to comment.