diff options
author | Thomas Citharel <tcit@tcit.fr> | 2022-05-12 17:29:57 +0200 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2022-05-17 15:09:46 +0200 |
commit | 4bb31c021e02d1076b5edc13d352e9c058e7c253 (patch) | |
tree | 9465a0b4e640623c3418aea6e54df7c8144caaf7 /apps/dav/tests/unit/CalDAV/PublicCalendarRootTest.php | |
parent | 07c9bf1adff8a2d10ff774da32c2ddd54fd01923 (diff) | |
download | nextcloud-server-4bb31c021e02d1076b5edc13d352e9c058e7c253.tar.gz nextcloud-server-4bb31c021e02d1076b5edc13d352e9c058e7c253.zip |
Remove all legacy event dispatchers from CalDAV & CardDAV backends
Move them to proper EventListeners and test them
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'apps/dav/tests/unit/CalDAV/PublicCalendarRootTest.php')
-rw-r--r-- | apps/dav/tests/unit/CalDAV/PublicCalendarRootTest.php | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/apps/dav/tests/unit/CalDAV/PublicCalendarRootTest.php b/apps/dav/tests/unit/CalDAV/PublicCalendarRootTest.php index 80e43d279dc..23c1c2ae896 100644 --- a/apps/dav/tests/unit/CalDAV/PublicCalendarRootTest.php +++ b/apps/dav/tests/unit/CalDAV/PublicCalendarRootTest.php @@ -42,7 +42,6 @@ use OCP\IL10N; use OCP\IUserManager; use OCP\Security\ISecureRandom; use Psr\Log\LoggerInterface; -use Symfony\Component\EventDispatcher\EventDispatcherInterface; use Test\TestCase; /** @@ -84,7 +83,6 @@ class PublicCalendarRootTest extends TestCase { $this->random = \OC::$server->getSecureRandom(); $this->logger = $this->createMock(LoggerInterface::class); $dispatcher = $this->createMock(IEventDispatcher::class); - $legacyDispatcher = $this->createMock(EventDispatcherInterface::class); $config = $this->createMock(IConfig::class); $this->principal->expects($this->any())->method('getGroupMembership') @@ -103,7 +101,6 @@ class PublicCalendarRootTest extends TestCase { $this->random, $this->logger, $dispatcher, - $legacyDispatcher, $config ); $this->l10n = $this->getMockBuilder(IL10N::class) |