diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2021-11-10 01:49:01 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-10 01:49:01 +0300 |
commit | a99efca55116387acb2458461054ca2615279b8b (patch) | |
tree | e7c7d18802418f1ba6cd84184eb6ef2ede9e1c16 /apps/files_sharing | |
parent | 52f8f4a399cd6f50ac7bd59253f0c343fbf10d2e (diff) | |
parent | 3b91e4cc48d92430959698602fedd222d70c1c07 (diff) |
Merge pull request #29559 from nextcloud/feat/28139/profile-respect-user-enumeration
Respect user enumeration settings on profile
Diffstat (limited to 'apps/files_sharing')
-rw-r--r-- | apps/files_sharing/tests/CapabilitiesTest.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/files_sharing/tests/CapabilitiesTest.php b/apps/files_sharing/tests/CapabilitiesTest.php index eb10c927140..01ef13a3e6c 100644 --- a/apps/files_sharing/tests/CapabilitiesTest.php +++ b/apps/files_sharing/tests/CapabilitiesTest.php @@ -28,6 +28,7 @@ */ namespace OCA\Files_Sharing\Tests; +use OC\KnownUser\KnownUserService; use OC\Share20\Manager; use OCA\Files_Sharing\Capabilities; use OCP\EventDispatcher\IEventDispatcher; @@ -94,7 +95,8 @@ class CapabilitiesTest extends \Test\TestCase { $this->createMock(IURLGenerator::class), $this->createMock(\OC_Defaults::class), $this->createMock(IEventDispatcher::class), - $this->createMock(IUserSession::class) + $this->createMock(IUserSession::class), + $this->createMock(KnownUserService::class) ); $cap = new Capabilities($config, $shareManager); $result = $this->getFilesSharingPart($cap->getCapabilities()); |