diff --git a/tests/Unit/Domain/Models/Entities/ShopperTest.php b/tests/Unit/Domain/Models/Entities/ShopperTest.php index d021dc5a..f598d3d7 100644 --- a/tests/Unit/Domain/Models/Entities/ShopperTest.php +++ b/tests/Unit/Domain/Models/Entities/ShopperTest.php @@ -15,6 +15,14 @@ use Domain\Models\ValueObjects\ShopperSiteCode; use Shared\Helpers\UuidHelper; describe('Shopper', function (): void { + beforeEach(function (): void { + CarbonImmutable::setTestNow(CarbonImmutable::parse('2026-06-15 10:00:00', 'Europe/Paris')); + }); + + afterEach(function (): void { + CarbonImmutable::setTestNow(); + }); + it('can instantiate correctly and check active status (active)', function (): void { // GIVEN $id = new ShopperId(UuidHelper::v7());