Files
grimmory/booklore-api
Balázs Szücs d2c6e535e2 fix(bookdrop): Ensure source file is only deleted after successful import and cleanup target on failure (#1638)
* fix(bookdrop): improve error handling and cleanup for file move failures

- Ensure target file is deleted if processing or metadata refresh fails after move
- Only delete source file on successful processing
- Add tests to verify file cleanup and source preservation on failure scenarios
- Use lenient mocking for Files in tests to support error simulation

* fix(bookdrop): enhance file and cover cleanup logic, improve test coverage for import finalization

* test(bookdrop): improve finalize import test with LibraryPathRepository mock and enhanced stubbing
2025-11-27 06:48:17 -07:00
..
2024-12-13 12:58:23 -07:00
2024-12-13 12:58:23 -07:00
2024-12-13 12:58:23 -07:00