diff options
author | Robin Appelman <robin@icewind.nl> | 2022-03-02 17:11:06 +0100 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2022-03-04 16:30:03 +0100 |
commit | 22875bf367b69db4a76daed1a057407e7fbff2a6 (patch) | |
tree | abcf81d9b06f48ced2c822ac90b849c525e733b6 /apps/files_external | |
parent | 1c468129afa2b2ec4a370a879f8eaffd22768baf (diff) | |
download | nextcloud-server-22875bf367b69db4a76daed1a057407e7fbff2a6.tar.gz nextcloud-server-22875bf367b69db4a76daed1a057407e7fbff2a6.zip |
move logic to decide what to setup to setupmanager
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps/files_external')
-rw-r--r-- | apps/files_external/tests/PersonalMountTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_external/tests/PersonalMountTest.php b/apps/files_external/tests/PersonalMountTest.php index fe0e4bc2533..ff33f8e21a7 100644 --- a/apps/files_external/tests/PersonalMountTest.php +++ b/apps/files_external/tests/PersonalMountTest.php @@ -30,7 +30,7 @@ use OCA\Files_External\Lib\StorageConfig; use OCP\Diagnostics\IEventLogger; use OCP\EventDispatcher\IEventDispatcher; use OCP\Files\Config\IMountProviderCollection; -use OCP\IUserSession; +use OCP\IUserManager; use Test\TestCase; class PersonalMountTest extends TestCase { @@ -54,7 +54,7 @@ class PersonalMountTest extends TestCase { $mountManager = new Manager( $this->createMock(IEventLogger::class), $this->createMock(IMountProviderCollection::class), - $this->createMock(IUserSession::class), + $this->createMock(IUserManager::class), $this->createMock(IEventDispatcher::class) ); $mountManager->addMount($mount); |