Commit graph

16 commits

Author SHA1 Message Date
Jérémy Munsch
d9edcd7f6b
test(uuid): migrate test suite to UuidHelper and add missing describe blocks 2026-11-17 12:15:39 +01:00
Jérémy Munsch
392dcdc6c3
fix(auth): validate forgot-password email through Email value object 2026-11-16 18:34:08 +01:00
Jérémy Munsch
1f3d25d61a
fix(ci,tests): resolve PHPStan CI failures with .env.example and Intelephense warnings 2026-11-16 18:34:08 +01:00
Jérémy Munsch
08c9028f91
test: update tests to use Assert for type checking
- Refactored tests to utilize Webmozart Assert for type assertions.
- Improved clarity and consistency in test expectations across multiple test files.
- Ensured that all relevant tests now check for expected types and values.
2026-11-16 16:26:51 +01:00
Jérémy Munsch
a4f2343eb2
test(eloquent,container): use Model::query() and direct dependency instantiation 2026-11-16 15:54:41 +01:00
Jérémy Munsch
c9d53f43c0
test(clock): add global clock reset and freeze time across 22 test files 2026-11-16 15:49:48 +01:00
Jérémy Munsch
5b88fb098a
test(tests): add PSR-4 namespaces to Architecture and Feature test files 2026-11-16 14:26:35 +01:00
Jérémy Munsch
d46d5e7b23
fix(auth): prevent premature customer creation and enforce active employee registration 2026-11-16 02:35:42 +01:00
Jérémy Munsch
6c60e067f0
fix(auth): handle inactive employee response in password reset
Return a generic response for inactive employees instead of throwing an exception.
2026-11-15 19:52:29 +01:00
Jérémy Munsch
5491c4fc30
fix(auth): avoid flashing login success for unverified customers 2026-11-15 18:25:48 +01:00
Jérémy Munsch
3426ea22a9
security(auth): enforce active employment and email verification on password reset 2026-11-15 16:45:03 +01:00
Jérémy Munsch
4771ef9a72
fix(auth): prevent registration on already assigned employee 2026-11-15 16:45:02 +01:00
Jérémy Munsch
8cbbefb20b
feat: flash warning message when unauthenticated guest is redirected to login 2026-10-27 09:58:55 +01:00
Jérémy Munsch
d29561fe64
test: annotate Pest closures using $this with \Tests\TestCase 2026-10-27 09:58:50 +01:00
Jérémy Munsch
8b96ce90be
test(casts): add tests for EmployeeSitesCast functionality
test(casts): add tests for ShopperEstablishmentCodeCast functionality

test(casts): add tests for ShopperServiceCodeCast functionality

test(casts): add tests for ShopperSiteCodeCast functionality

test(dto): update ProductDtoTest to include additional fields

test(dto): update SettingDtoTest to remove arcadiaSites assertions

test(events): update AnOrderHasBeenPlacedTest to use value objects

test(entities): update OrderTest to use value objects for employee details

test(value-objects): update EmployeeUpsertDataTest to use value objects

test(pagination): update PaginationTest to access value properties

test(services): update AppCustomerAuthServiceTest to use CrmHashcode

test(services): update CrmServiceTest to use CrmHashcode for customer retrieval
2026-10-27 09:58:45 +01:00
Jérémy Munsch
58af50b5c5
refactor: massive bump refactor 2026-10-27 09:58:12 +01:00