nextcloud/apps/dav/tests/unit/Connector/Sabre
Louis Chemineau 634e8d2587
fix: Dispatch favorite event with an actual path
The `$path` argument was added in https://github.com/nextcloud/server/pull/48612, but was never actually used by the callers. The path was therefore missing in the favorite/unfavorite events, which lead to a broken activity information.

I also added a fallback to handle `addToFavorites` and `removeFromFavorites`, which are part of a public API, and are calling `tagAs` and `untag` without `$path`.

Fix https://github.com/nextcloud/activity/issues/2134

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-09-15 15:04:00 +02:00
..
Exception test: Migrate remaining DAV tests to PHPUnit 10 2025-05-28 09:25:47 +02:00
RequestTest fix(tests): Fix type issues and other problems with encryption tests 2025-09-09 11:46:18 +02:00
AuthTest.php Revert "perf(base): Stop setting up the FS for every basic auth request" 2025-07-11 17:07:44 +02:00
BearerAuthTest.php test: Migrate remaining DAV tests to PHPUnit 10 2025-05-28 09:25:47 +02:00
BlockLegacyClientPluginTest.php chore: run rector 2025-07-01 22:45:52 +02:00
CommentsPropertiesPluginTest.php perf(comments): Also cache the comments count 2025-08-21 11:30:56 +02:00
CopyEtagHeaderPluginTest.php test: Migrate remaining DAV tests to PHPUnit 10 2025-05-28 09:25:47 +02:00
CustomPropertiesBackendTest.php perf(caldav): Cache calendars in CustomPropertiesBackend 2025-08-15 09:57:58 +02:00
DirectoryTest.php chore: run rector 2025-07-01 22:45:52 +02:00
DummyGetResponsePluginTest.php test: Migrate remaining DAV tests to PHPUnit 10 2025-05-28 09:25:47 +02:00
ExceptionLoggerPluginTest.php chore: run rector 2025-07-01 22:45:52 +02:00
FakeLockerPluginTest.php chore: run rector 2025-07-01 22:45:52 +02:00
FilesPluginTest.php chore: run rector 2025-07-01 22:45:52 +02:00
FilesReportPluginTest.php chore: run rector 2025-07-01 22:45:52 +02:00
FileTest.php chore: run rector 2025-07-01 22:45:52 +02:00
MaintenancePluginTest.php test: Migrate remaining DAV tests to PHPUnit 10 2025-05-28 09:25:47 +02:00
NodeTest.php chore: run rector 2025-07-01 22:45:52 +02:00
ObjectTreeTest.php chore: run rector 2025-07-01 22:45:52 +02:00
PrincipalTest.php chore: run rector 2025-07-01 22:45:52 +02:00
PropfindCompressionPluginTest.php test: Migrate remaining DAV tests to PHPUnit 10 2025-05-28 09:25:47 +02:00
PropFindMonitorPluginTest.php feat: emit preloadCollection event in DAV 2025-08-15 10:46:43 +02:00
PropFindPreloadNotifyPluginTest.php feat: emit preloadCollection event in DAV 2025-08-15 10:46:43 +02:00
PublicAuthTest.php chore: run rector 2025-07-01 22:45:52 +02:00
QuotaPluginTest.php chore: run rector 2025-07-01 22:45:52 +02:00
SharesPluginTest.php feat: make use of preloadCollection in core apps 2025-08-15 10:46:43 +02:00
TagsPluginTest.php fix: Dispatch favorite event with an actual path 2025-09-15 15:04:00 +02:00