nextcloud/apps/files_sharing/tests
Carl Schwan c90bf858ec perf(sharing): Avoid loading all shares from all users when unsharing
First check which users have a shares and for which providers and then
only load these shares.

Avoid doing at most 5 SQL queries for each users a share was shared with if
there are no shares.

Signed-off-by: Carl Schwan <carlschwan@kde.org>
2026-03-02 11:25:49 +00:00
..
Collaboration fix(psalm): Fix static analysis issues in apps/*/tests 2026-01-16 12:00:51 +01:00
Command fix(psalm): Fix static analysis issues in apps/*/tests 2026-01-16 12:00:51 +01:00
Controller test(share): Update expiration date tests for end-of-day time 2026-02-24 10:23:09 +00:00
External fix(psalm): Fix static analysis issues in apps/*/tests 2026-01-16 12:00:51 +01:00
Listener fix(tests): Fix files_sharing tests conflicting with other tests 2025-06-10 15:38:43 +02:00
Middleware fix(psalm): Fix static analysis issues in apps/*/tests 2026-01-16 12:00:51 +01:00
Migration fix(psalm): Fix static analysis issues in apps/*/tests 2026-01-16 12:00:51 +01:00
Repair test: add test for share target repair 2026-01-29 18:19:52 +01:00
ApiTest.php test(share): Update expiration date tests for end-of-day time 2026-02-24 10:23:09 +00:00
ApplicationTest.php fix(psalm): Fix static analysis issues in apps/*/tests 2026-01-16 12:00:51 +01:00
CacheTest.php fix(psalm): Fix static analysis issues in apps/*/tests 2026-01-16 12:00:51 +01:00
CapabilitiesTest.php perf(sharing): Avoid loading all shares from all users when unsharing 2026-03-02 11:25:49 +00:00
DeleteOrphanedSharesJobTest.php fix(psalm): Fix static analysis issues in apps/*/tests 2026-01-16 12:00:51 +01:00
EncryptedSizePropagationTest.php fix(psalm): Fix static analysis issues in apps/*/tests 2026-01-16 12:00:51 +01:00
EtagPropagationTest.php fix(psalm): Fix static analysis issues in apps/*/tests 2026-01-16 12:00:51 +01:00
ExpireSharesJobTest.php fix(psalm): Fix static analysis issues in apps/*/tests 2026-01-16 12:00:51 +01:00
ExternalStorageTest.php fix(psalm): Fix static analysis issues in apps/*/tests 2026-01-16 12:00:51 +01:00
GroupEtagPropagationTest.php fix(psalm): Fix static analysis issues in apps/*/tests 2026-01-16 12:00:51 +01:00
HelperTest.php fix(psalm): Fix static analysis issues in apps/*/tests 2026-01-16 12:00:51 +01:00
LockingTest.php fix(psalm): Fix static analysis issues in apps/*/tests 2026-01-16 12:00:51 +01:00
MountProviderTest.php test: adjust tests 2026-01-27 17:26:59 +01:00
PropagationTestCase.php chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
SharedMountTest.php fix(psalm): Fix static analysis issues in apps/*/tests 2026-01-16 12:00:51 +01:00
SharedStorageTest.php fix(psalm): Fix static analysis issues in apps/*/tests 2026-01-16 12:00:51 +01:00
SharesReminderJobTest.php test(share): Update expiration date tests for end-of-day time 2026-02-24 10:23:09 +00:00
ShareTest.php fix(psalm): Fix static analysis issues in apps/*/tests 2026-01-16 12:00:51 +01:00
SizePropagationTest.php fix(psalm): Fix static analysis issues in apps/*/tests 2026-01-16 12:00:51 +01:00
TestCase.php fix(psalm): Fix static analysis issues in apps/*/tests 2026-01-16 12:00:51 +01:00
UnshareChildrenTest.php fix(psalm): Fix static analysis issues in apps/*/tests 2026-01-16 12:00:51 +01:00
UpdaterTest.php fix(psalm): Fix static analysis issues in apps/*/tests 2026-01-16 12:00:51 +01:00
WatcherTest.php fix(psalm): Fix static analysis issues in apps/*/tests 2026-01-16 12:00:51 +01:00