nextcloud/apps/user_status/tests/Unit
Anna Larch 5f9d8de722 test(user_status): add tests for backup row protection in cleanup and queries
- testFindAllExcludesBackups: verify findAll() doesn't return backup rows
- testFindAllRecentExcludesBackups: verify findAllRecent() excludes backups
- testClearOlderThanClearAtPreservesBackups: verify backup rows survive
  clear_at cleanup
- testClearStatusesOlderThanPreservesBackups: verify backup statuses aren't
  overwritten to OFFLINE by age-based cleanup
- testHandleWithCorrectEvent: verify removeBackupUserStatus() is also called
  when a user is deleted

AI-Assisted-By: Claude Opus 4.6
Signed-off-by: Anna Larch <anna@nextcloud.com>
2026-06-30 14:54:07 +02:00
..
BackgroundJob test: Fix some apps/*/tests 2025-05-15 08:26:15 +02:00
Connector test: Fix coding standards 2025-05-15 08:48:13 +02:00
Controller fix(psalm): Fix static analysis issues in apps/*/tests 2026-01-16 12:00:51 +01:00
Dashboard test: Fix some apps/*/tests 2025-05-15 08:26:15 +02:00
Db test(user_status): add tests for backup row protection in cleanup and queries 2026-06-30 14:54:07 +02:00
Listener test(user_status): add tests for backup row protection in cleanup and queries 2026-06-30 14:54:07 +02:00
Service fix(psalm): Fix static analysis issues in apps/*/tests 2026-01-16 12:00:51 +01:00
CapabilitiesTest.php fix(psalm): Fix static analysis issues in apps/*/tests 2026-01-16 12:00:51 +01:00