diff options
Diffstat (limited to 'apps/files_sharing/tests/CapabilitiesTest.php')
-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()); |