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 /tests | |
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 'tests')
-rw-r--r-- | tests/lib/Files/Mount/ManagerTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/Files/Mount/ManagerTest.php b/tests/lib/Files/Mount/ManagerTest.php index 3fd994edd56..159fffc7cb8 100644 --- a/tests/lib/Files/Mount/ManagerTest.php +++ b/tests/lib/Files/Mount/ManagerTest.php @@ -12,7 +12,7 @@ use OC\Files\Storage\Temporary; use OCP\Diagnostics\IEventLogger; use OCP\EventDispatcher\IEventDispatcher; use OCP\Files\Config\IMountProviderCollection; -use OCP\IUserSession; +use OCP\IUserManager; class LongId extends Temporary { public function getId() { @@ -31,7 +31,7 @@ class ManagerTest extends \Test\TestCase { $this->manager = new \OC\Files\Mount\Manager( $this->createMock(IEventLogger::class), $this->createMock(IMountProviderCollection::class), - $this->createMock(IUserSession::class), + $this->createMock(IUserManager::class), $this->createMock(IEventDispatcher::class), ); } |