nextcloud/apps/dav/tests/unit
Louis Chemineau 431f6d7c87 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 14:38:53 +00:00
..
AppInfo test: Migrate CalDAV tests to PHPUnit10 2025-05-25 14:11:17 +02:00
Avatars chore: run rector 2025-07-01 22:45:52 +02:00
BackgroundJob chore: run rector 2025-07-01 22:45:52 +02:00
CalDAV fix: aliases and capitalization of emails 2025-08-28 17:40:04 -04:00
CardDAV feat: calendar federation 2025-08-27 17:14:15 +02:00
Command chore: run rector 2025-07-01 22:45:52 +02:00
Comments chore: run rector 2025-07-01 22:45:52 +02:00
Connector fix: Dispatch favorite event with an actual path 2025-09-15 14:38:53 +00:00
Controller chore: run rector 2025-07-01 22:45:52 +02:00
DAV fix(dav): clean up user's addressbook shares on deletion 2025-09-01 10:37:08 +02:00
Direct test: Migrate remaining DAV tests to PHPUnit 10 2025-05-28 09:25:47 +02:00
Files perf(dav): Preload dav search with tags/favorites 2025-06-27 20:42:07 +02:00
Listener chore: run rector 2025-07-01 22:45:52 +02:00
Migration chore: run rector 2025-07-01 22:45:52 +02:00
Provisioning/Apple chore: run rector 2025-07-01 22:45:52 +02:00
Search fix(caldav): encode calendar URLs properly when formatting search results 2025-08-15 14:53:49 +02:00
Service chore: run rector 2025-07-01 22:45:52 +02:00
Settings chore: run rector 2025-07-01 22:45:52 +02:00
SystemTag chore: run rector 2025-07-01 22:45:52 +02:00
test_fixtures feat: create example event when a user logs in for the first time 2025-06-16 11:49:20 +02:00
Upload chore: run rector 2025-07-01 22:45:52 +02:00
bootstrap.php chore: Remove calls to OC_App in bootstrap.php files for tests 2025-07-10 11:40:27 +02:00
CapabilitiesTest.php test: Migrate DAV Systemtags tests to PHPUnit 10 2025-05-27 18:27:25 +02:00
phpunit.xml chore: Get rid of travis in DAV app 2024-09-19 20:53:31 +02:00
ServerTest.php chore: run rector 2025-07-01 22:45:52 +02:00