diff options
author | Julius Härtl <jus@bitgrid.net> | 2021-07-09 09:00:03 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2021-07-14 17:08:05 +0300 |
commit | 7179002600ccde6d6757c068c9388430ed71a2f1 (patch) | |
tree | 5b0fd29678ce392db2764923d5f6bb393435d596 /apps/files_sharing/tests/External/CacheTest.php | |
parent | f43c2b45d8177e8c924b8f97f80c92164a3d5412 (diff) |
Allow to get a local cloud id without going through the contacts manager
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/files_sharing/tests/External/CacheTest.php')
-rw-r--r-- | apps/files_sharing/tests/External/CacheTest.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/files_sharing/tests/External/CacheTest.php b/apps/files_sharing/tests/External/CacheTest.php index cbac5907d07..c538f7dd760 100644 --- a/apps/files_sharing/tests/External/CacheTest.php +++ b/apps/files_sharing/tests/External/CacheTest.php @@ -31,6 +31,8 @@ use OC\Federation\CloudIdManager; use OCA\Files_Sharing\Tests\TestCase; use OCP\Contacts\IManager; use OCP\Federation\ICloudIdManager; +use OCP\IURLGenerator; +use OCP\IUserManager; /** * Class Cache @@ -66,7 +68,7 @@ class CacheTest extends TestCase { $this->contactsManager = $this->createMock(IManager::class); - $this->cloudIdManager = new CloudIdManager($this->contactsManager); + $this->cloudIdManager = new CloudIdManager($this->contactsManager, $this->createMock(IURLGenerator::class), $this->createMock(IUserManager::class)); $this->remoteUser = $this->getUniqueID('remoteuser'); $this->storage = $this->getMockBuilder('\OCA\Files_Sharing\External\Storage') |