chore(config,tests): disable local disk serving route and freeze time in ShopperTest

This commit is contained in:
Jérémy Munsch 2026-11-17 12:32:21 +01:00
parent 0a52798a3e
commit aba49edaee
No known key found for this signature in database
GPG key ID: 2AAECDA6B7330F91

View file

@ -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());