aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/tests
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2023-07-27 22:37:15 +0200
committerJoas Schilling <coding@schilljs.com>2023-07-28 14:11:20 +0200
commitcebf93d4d2bd9bb51173f5caeb7ec495da19f8de (patch)
tree8468a7e38208d95d74860ccc7757f4be8b50e491 /apps/files_sharing/tests
parent22e033b628d7edf10a184976c6884647fa338dd7 (diff)
downloadnextcloud-server-cebf93d4d2bd9bb51173f5caeb7ec495da19f8de.tar.gz
nextcloud-server-cebf93d4d2bd9bb51173f5caeb7ec495da19f8de.zip
fix: Remove legacy dispatcher from share manager
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/files_sharing/tests')
-rw-r--r--apps/files_sharing/tests/CapabilitiesTest.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/files_sharing/tests/CapabilitiesTest.php b/apps/files_sharing/tests/CapabilitiesTest.php
index fcefc556203..0d21718f98a 100644
--- a/apps/files_sharing/tests/CapabilitiesTest.php
+++ b/apps/files_sharing/tests/CapabilitiesTest.php
@@ -46,7 +46,6 @@ use OCP\Security\IHasher;
use OCP\Security\ISecureRandom;
use OCP\Share\IProviderFactory;
use Psr\Log\LoggerInterface;
-use Symfony\Component\EventDispatcher\EventDispatcherInterface;
/**
* Class CapabilitiesTest
@@ -90,7 +89,6 @@ class CapabilitiesTest extends \Test\TestCase {
$this->createMock(IProviderFactory::class),
$this->createMock(IUserManager::class),
$this->createMock(IRootFolder::class),
- $this->createMock(EventDispatcherInterface::class),
$this->createMock(IMailer::class),
$this->createMock(IURLGenerator::class),
$this->createMock(\OC_Defaults::class),