diff options
author | Edward Ly <contact@edward.ly> | 2025-03-06 10:07:50 -0800 |
---|---|---|
committer | Edward Ly <contact@edward.ly> | 2025-03-07 08:09:53 -0800 |
commit | dee1d4fff33f8ab496c60831939d4a0fc5f92da3 (patch) | |
tree | 4371a3371e9a557a10b0a92d189a421548eedec1 /apps/dav/tests | |
parent | dd181f4b2ad98fd75a6f1e90651d40363eb0f17c (diff) | |
download | nextcloud-server-dee1d4fff33f8ab496c60831939d4a0fc5f92da3.tar.gz nextcloud-server-dee1d4fff33f8ab496c60831939d4a0fc5f92da3.zip |
feat(dav)!: migrate OCA calendar object events to OCP
Signed-off-by: Edward Ly <contact@edward.ly>
Diffstat (limited to 'apps/dav/tests')
-rw-r--r-- | apps/dav/tests/unit/Listener/ActivityUpdaterListenerTest.php | 2 | ||||
-rw-r--r-- | apps/dav/tests/unit/Listener/CalendarContactInteractionListenerTest.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/dav/tests/unit/Listener/ActivityUpdaterListenerTest.php b/apps/dav/tests/unit/Listener/ActivityUpdaterListenerTest.php index 7b517c93d5d..78769c7fb47 100644 --- a/apps/dav/tests/unit/Listener/ActivityUpdaterListenerTest.php +++ b/apps/dav/tests/unit/Listener/ActivityUpdaterListenerTest.php @@ -12,8 +12,8 @@ use OCA\DAV\CalDAV\Activity\Backend as ActivityBackend; use OCA\DAV\CalDAV\Activity\Provider\Event; use OCA\DAV\DAV\Sharing\Plugin as SharingPlugin; use OCA\DAV\Events\CalendarDeletedEvent; -use OCA\DAV\Events\CalendarObjectDeletedEvent; use OCA\DAV\Listener\ActivityUpdaterListener; +use OCP\Calendar\Events\CalendarObjectDeletedEvent; use PHPUnit\Framework\MockObject\MockObject; use Psr\Log\LoggerInterface; use Test\TestCase; diff --git a/apps/dav/tests/unit/Listener/CalendarContactInteractionListenerTest.php b/apps/dav/tests/unit/Listener/CalendarContactInteractionListenerTest.php index f11438858d7..96d8514da41 100644 --- a/apps/dav/tests/unit/Listener/CalendarContactInteractionListenerTest.php +++ b/apps/dav/tests/unit/Listener/CalendarContactInteractionListenerTest.php @@ -9,9 +9,9 @@ declare(strict_types=1); namespace OCA\DAV\Tests\Unit\Listener; use OCA\DAV\Connector\Sabre\Principal; -use OCA\DAV\Events\CalendarObjectCreatedEvent; use OCA\DAV\Events\CalendarShareUpdatedEvent; use OCA\DAV\Listener\CalendarContactInteractionListener; +use OCP\Calendar\Events\CalendarObjectCreatedEvent; use OCP\Contacts\Events\ContactInteractedWithEvent; use OCP\EventDispatcher\Event; use OCP\EventDispatcher\IEventDispatcher; |