From 22875bf367b69db4a76daed1a057407e7fbff2a6 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Wed, 2 Mar 2022 17:11:06 +0100 Subject: move logic to decide what to setup to setupmanager Signed-off-by: Robin Appelman --- tests/lib/Files/Mount/ManagerTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') 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), ); } -- cgit v1.2.3