ldc-cocotte/tests/Unit/Domain/Models/ValueObjects
Jérémy Munsch 42bdae01cc
feat: implement pagination using Pagination value object
- Updated DataTableService to accept a Pagination object for pagination parameters.
- Refactored paginateQuery method to utilize pageSize and pageNumber from Pagination.

refactor: replace ActionExecutor with Executor in controller traits

- Updated ChangesModelOrder, TogglesModelStar, and TogglesModelStatus traits to use Executor interface instead of ActionExecutor.

feat: add PictureMetadata and Slug value objects

- Introduced PictureMetadata for managing image metadata with validation.
- Added Slug value object for slug generation and validation.

feat: update breadcrumbs to support RangeDto

- Modified breadcrumbs-bo.php to accept RangeDto in the edit route.

test: add tests for RangesController

- Added tests for accessing, creating, updating, and deleting ranges.
- Included tests for toggling range status.

test: add integration tests for range actions

- Created tests for CreateRange, DeleteRange, and UpdateRange actions.
- Validated input handling and database interactions.

test: add unit tests for range input classes

- Implemented tests for CreateRangeInput and UpdateRangeInput to validate input constraints.

test: add unit tests for value objects

- Added tests for PictureMetadata and Slug to ensure proper validation and instantiation.

test: add unit tests for RangeDto

- Created tests to verify RangeDto mapping from Range model.

test: add unit tests for RangePolicy

- Implemented tests for RangePolicy to validate permissions based on user roles.
2026-10-27 09:58:34 +01:00
..
Entities refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
AttachedFileTest.php refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
BasketProductTest.php refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
CodeTest.php refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
ContactFormDataTest.php refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
CrmCustomerTest.php refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
CsvImportFileTest.php refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
DatePeriodTest.php refactor(slides): implement CQS actions, query, DTO, and DatePeriod VO for slides 2026-10-27 09:58:33 +01:00
DeliveryAddressTest.php refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
DiscountValueTest.php refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
EditablePickupExceptionForShopTest.php refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
EmailTest.php refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
EmployeeImportTest.php refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
EmployeeUpsertDataTest.php refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
ImportRowResultTest.php refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
IncoIdTest.php refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
MatriculeTest.php refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
NutritionalValuesTest.php refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
OrderEmployeeTest.php refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
OrderLineProductTest.php refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
OrderLineTest.php refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
OrderReferenceTest.php refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
PaginationTest.php refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
PickupTimeSlotTest.php refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
PictureMetadataTest.php feat: implement pagination using Pagination value object 2026-10-27 09:58:34 +01:00
ProductPricingTest.php refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
ProductWeightTest.php refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
SeoMetadataTest.php refactor(pages): implement CQS action, query, DTO, and SeoMetadata VO for pages 2026-10-27 09:58:33 +01:00
SessionIdTest.php refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
ShopPickupOverrideTest.php refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
SlugTest.php feat: implement pagination using Pagination value object 2026-10-27 09:58:34 +01:00