Jérémy Munsch
85aceedd1f
fix(http): guard null route when redirecting guests in middleware
2026-11-16 18:34:09 +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
45fc35b1f7
fix(products): query published associated products in pivot order on FO product page
2026-11-16 18:34:07 +01:00
Jérémy Munsch
0fb5a25a4a
ci: update phpstan configuration to copy .env.example
...
This change ensures that the .env file is created from the example
before running phpstan, allowing for proper environment setup.
2026-11-16 17:12:54 +01:00
Jérémy Munsch
8ffe04c388
ci: add AWS_DEFAULT_REGION variable for phpstan
2026-11-16 17:08:29 +01:00
Jérémy Munsch
cdc04d0104
test(coverage): cover Arcadia jobs and employee service, add describe blocks (Lot 7C)
2026-11-16 17:01:12 +01:00
Jérémy Munsch
3aaec0a6db
test(coverage): cover post-commit Listeners and AppSessionService (Lot 7B)
2026-11-16 16:53:21 +01:00
Jérémy Munsch
241ad87a2e
test(coverage): cover remaining CQS Queries and FO product HTML rendering (Lot 7A)
2026-11-16 16:47:33 +01:00
Jérémy Munsch
aee7d4b8e7
chore(config): force APP_ENV to testing in phpunit.xml
...
Ensures the testing environment is consistently set.
2026-11-16 16:37:52 +01:00
Jérémy Munsch
b4384c00a7
chore(lint): resolve remaining PHPCS warnings across domain, infra, shared, and unit tests
2026-11-16 16:34:21 +01:00
Jérémy Munsch
14fd20c303
test(quality): resolve PHPStan level 10 errors in Feature tests and wrap long test lines
2026-11-16 16:29:17 +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
1b44f9d178
test(quality): resolve all PHPStan level 10 errors in Unit and Integration tests
2026-11-16 16:13:14 +01:00
Jérémy Munsch
2db00301f4
test(shared): add pure unit test suites across Helpers, Enums, Filesystem, Pagination, and ValueObjects
2026-11-16 16:01:08 +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
c2490e0339
test(phpstan): remove all 55 redundant RefreshDatabase uses()
2026-11-16 15:45:21 +01:00
Jérémy Munsch
c083d74032
test(phpstan): remove all 145 redundant Pest expectations
2026-11-16 15:43:10 +01:00
Jérémy Munsch
7ad5acebd3
test(requests): overhaul FO request tests and lock Architecture rules
2026-11-16 15:31:41 +01:00
Jérémy Munsch
6f81d94648
test(requests): overhaul Basket and remaining BO request tests with controller failure checks
2026-11-16 15:23:40 +01:00
Jérémy Munsch
1f642b185e
test(requests): overhaul BO Tags/Slides/Ranges/Products request tests and failure responses
2026-11-16 15:19:01 +01:00
Jérémy Munsch
1c304b78b2
test(decouple): remove expect(true)->toBeTrue() and move ProductPolicy INCO checks to WithApp
2026-11-16 15:12:42 +01:00
Jérémy Munsch
4f2b7ba0c0
test(tests): update ArcadiaIncoServiceTest for null safety
...
Refactor assertions to use null-safe operator and simplify instantiation of IncoNutriscore.
2026-11-16 15:07:53 +01:00
Jérémy Munsch
99a923a7df
test(tests): replace internal Laravel Session/Mail/DB mocks with real stores and Mail::fake (lot 4B)
2026-11-16 15:04:17 +01:00
Jérémy Munsch
8a6b1442e6
test(tests): remove Reflection attribute/constructor hacks and pass-through InitializeOrderTunnel (lot 4A)
2026-11-16 15:01:17 +01:00
Jérémy Munsch
49c17d61f0
chore(tests): upgrade to Pest 5, PHPUnit 13, pest-plugin-phpstan and phpstan-webmozart-assert
2026-11-16 14:49:53 +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
cdb30e2f70
test(tests): add PSR-4 namespaces to Integration test files
2026-11-16 14:21:17 +01:00
Jérémy Munsch
a87e5a0c94
test(tests): add unit tests for Pagination value object
2026-11-16 14:19:02 +01:00
Jérémy Munsch
588a93cbcf
test(tests): add PSR-4 namespaces to Unit test files
2026-11-16 14:18:42 +01:00
Jérémy Munsch
8b9eb59b50
test(tests): replace $this->fail with caught exception assertion in LaravelCacheLockTest
2026-11-16 13:11:20 +01:00
Jérémy Munsch
348119ec7c
test(tests): normalize Integration Cqs and Feature App directories (lot 3C)
2026-11-16 13:09:00 +01:00
Jérémy Munsch
3f4856efa2
test(tests): move Laravel-bound tests out of Unit and group Unit Cqs tests (lot 3B)
2026-11-16 13:02:15 +01:00
Jérémy Munsch
7b27f532ee
test(tests): fix PHPStan level 10 errors in OrderTunnelServiceTest and PickupSchedulingServiceTest
2026-11-16 13:00:47 +01:00
Jérémy Munsch
29b9a87d78
test(tests): update mock usage in DataTableServiceTest
...
Refactor mock creation to use \Mockery::mock for consistency.
2026-11-16 12:54:52 +01:00
Jérémy Munsch
ec6e220138
test(tests): update Carbon usage in GetPickTimeSlotQueryTest and IcsGeneratorServiceTest
...
Refactor date handling to use CarbonImmutable for consistency in tests.
2026-11-16 12:54:30 +01:00
Jérémy Munsch
7698821501
test(tests): add namespace declarations to test files
2026-11-16 12:54:16 +01:00
Jérémy Munsch
a2fd843398
test(tests): add unit tests for session-based basket repository
...
Added tests for the SessionBasketRepository to ensure correct behavior when finding, persisting, and deleting baskets in the session.
2026-11-16 12:53:27 +01:00
Jérémy Munsch
4c8280d932
test(tests): prune constructor-only DTO tests and consolidate contracts (lot 2C)
2026-11-16 12:50:19 +01:00
Jérémy Munsch
712d42ed96
test(tests): remove generic enum, exception string, and invariant-free input tests (lot 2B)
2026-11-16 12:47:36 +01:00
Jérémy Munsch
80d3478dbe
test(tests): merge unique assertions and remove strict duplicate test files (lot 2A)
2026-11-16 12:46:06 +01:00
Jérémy Munsch
875d6dd01d
test(tests): apply step 1 hygiene, clock reset, and explicit Arcadia policy skips
2026-11-16 12:39:21 +01:00
Jérémy Munsch
8a3d6a8156
chore(phpstan): add phpstan-mockery extension for testing
...
This addition enhances the testing capabilities by integrating phpstan-mockery.
2026-11-16 12:36:26 +01:00
Jérémy Munsch
50cef3b0cf
chore(dependencies): add phpstan-mockery for improved testing
...
This addition enhances the testing capabilities by integrating the PHPStan Mockery extension.
2026-11-16 11:49:32 +01:00
Jérémy Munsch
ea06b37a47
refactor(BaseEnum): improve cache handling and type annotations
...
Enhanced type annotations for cache variables and improved readability of the toLabels, toValues, and getCustomDefinitions methods.
2026-11-16 11:44:31 +01:00
Jérémy Munsch
cbb1ed812b
test(UpsertEmployeesFormFile): assert result is PendingCommand
2026-11-16 11:41:51 +01:00
Jérémy Munsch
d45022d8a4
fix(SessionBasketRepository): handle corrupted session payload correctly
...
Ensure that corrupted session data is ignored and null is returned, improving robustness.
2026-11-16 11:40:24 +01:00
Jérémy Munsch
f658dd4b64
refactor(tests): remove unused imports in test files
...
Cleaned up test files by removing unnecessary imports to improve readability.
2026-11-16 11:40:10 +01:00
Jérémy Munsch
d1f0b21ad5
refactor(EntityId): move UUID validation to EntityId constructor
...
Refactored the EntityId class to include UUID v7 validation in the constructor, ensuring all derived classes inherit this behavior.
2026-11-16 11:39:52 +01:00