ldc-cocotte/tests/Integration/WithApp/App/Actions
Jérémy Munsch 86e7340c48
feat(products): add success and failure handling for product actions
- Implemented HandlesSuccess and HandlesFailure interfaces in CreateProduct and UpdateProduct actions.
- Added tracking of uploaded paths and cleanup on failure.
- Enhanced image storage handling to ensure proper cleanup of orphaned files.

feat(ranges): add success and failure handling for range actions

- Implemented HandlesSuccess and HandlesFailure interfaces in CreateRange and UpdateRange actions.
- Added tracking of uploaded paths and cleanup on failure.
- Enhanced image storage handling to ensure proper cleanup of orphaned files.

feat(slides): add success and failure handling for slide actions

- Implemented HandlesSuccess and HandlesFailure interfaces in CreateSlide and UpdateSlide actions.
- Added tracking of uploaded paths and cleanup on failure.
- Enhanced image storage handling to ensure proper cleanup of orphaned files.

chore: introduce TracksPendingStoragePaths trait

- Created a new trait to manage tracking of uploaded and obsolete storage paths.
- This will streamline the handling of file cleanup across various actions.

test: add tests for action failure handling and cleanup

- Added tests to verify that uploaded files are cleaned up on action failure.
- Ensured that previous files are preserved during rollback scenarios.
2026-11-15 20:31:37 +01:00
..
Auth test(ResetCustomerPassword): update tests to check remember_token behavior 2026-11-15 20:12:00 +01:00
Common refactor: update namespaces for actions and queries 2026-11-10 15:13:26 +01:00
Contact feat(products): add success and failure handling for product actions 2026-11-15 20:31:37 +01:00
Customers refactor(app): remove legacy App\Repositories and migrate callers to Eloquent 2026-11-15 18:10:26 +01:00
Discounts refactor: update namespaces for actions and queries 2026-11-10 15:13:26 +01:00
Faqs refactor: update namespaces for actions and queries 2026-11-10 15:13:26 +01:00
Pages refactor: update namespaces for actions and queries 2026-11-10 15:13:26 +01:00
PickupExceptions feat(pickup-exceptions): implement upsert and query for public holidays 2026-11-15 20:04:29 +01:00
ProductIncos feat(ProductIncos): implement Associate and Sync actions with output handling 2026-11-15 20:11:28 +01:00
Products feat(products): add success and failure handling for product actions 2026-11-15 20:31:37 +01:00
Ranges feat(products): add success and failure handling for product actions 2026-11-15 20:31:37 +01:00
Settings refactor: update namespaces for actions and queries 2026-11-10 15:13:26 +01:00
Shops refactor: update namespaces for actions and queries 2026-11-10 15:13:26 +01:00
Slides feat(products): add success and failure handling for product actions 2026-11-15 20:31:37 +01:00
Tags refactor: update namespaces for actions and queries 2026-11-10 15:13:26 +01:00
Users refactor(cqs): delegate job, command and listener mutations to CQS actions via Executor 2026-11-15 16:44:59 +01:00