You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: address review feedback for trash constraint handling
- Wrap moveFromStorage() in try/catch to clean up the DB record when
the move throws an exception (not just when it returns false)
- Fix test: use assertCount on full trash list instead of filtering by
getName() which returns the trash filename with .d suffix
- Make test deterministic by waiting for a new-second boundary before
both moveToTrash() calls so they always land in the same second
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Iva Horn <iva.horn@nextcloud.com>
0 commit comments