aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Files/Config/UserMountCacheTest.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2023-07-25 21:45:07 +0200
committerJoas Schilling <coding@schilljs.com>2023-07-27 23:13:37 +0200
commitad12a740cb619d701de332eedda91dcbb1f53047 (patch)
tree3bb0fcd87424e72ca0f259e94232c361e7e695c1 /tests/lib/Files/Config/UserMountCacheTest.php
parentb93f101d6209905d22b90816bf6a0cfe89a38a8b (diff)
downloadnextcloud-server-ad12a740cb619d701de332eedda91dcbb1f53047.tar.gz
nextcloud-server-ad12a740cb619d701de332eedda91dcbb1f53047.zip
fix!: Remove symfony EventDispatcherInterface from User
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests/lib/Files/Config/UserMountCacheTest.php')
-rw-r--r--tests/lib/Files/Config/UserMountCacheTest.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/lib/Files/Config/UserMountCacheTest.php b/tests/lib/Files/Config/UserMountCacheTest.php
index a9a88cb85c9..ccad4671ae9 100644
--- a/tests/lib/Files/Config/UserMountCacheTest.php
+++ b/tests/lib/Files/Config/UserMountCacheTest.php
@@ -21,7 +21,6 @@ use OCP\IConfig;
use OCP\IDBConnection;
use OCP\IUserManager;
use Psr\Log\LoggerInterface;
-use Symfony\Component\EventDispatcher\EventDispatcherInterface;
use Test\TestCase;
use Test\Util\User\Dummy;
@@ -62,7 +61,7 @@ class UserMountCacheTest extends TestCase {
->expects($this->any())
->method('getAppValue')
->willReturnArgument(2);
- $this->userManager = new Manager($config, $this->createMock(EventDispatcherInterface::class), $this->createMock(ICacheFactory::class), $this->createMock(IEventDispatcher::class));
+ $this->userManager = new Manager($config, $this->createMock(ICacheFactory::class), $this->createMock(IEventDispatcher::class));
$userBackend = new Dummy();
$userBackend->createUser('u1', '');
$userBackend->createUser('u2', '');