fix: 🚨 resolve pint errors
This commit is contained in:
parent
2f17cd6a9a
commit
063e3b79fb
3 changed files with 3 additions and 4 deletions
|
|
@ -5,7 +5,6 @@ declare(strict_types=1);
|
|||
namespace Domain\Models\Entities;
|
||||
|
||||
use Domain\Enums\Country;
|
||||
use Domain\Models\Entities\Tag;
|
||||
use Domain\Models\ValueObjects\Brand\BrandCode;
|
||||
use Domain\Models\ValueObjects\Campaign\CampaignCode;
|
||||
use Domain\Models\ValueObjects\Campaign\CampaignCoupon;
|
||||
|
|
|
|||
|
|
@ -177,8 +177,8 @@ describe('campaign', function (): void {
|
|||
|
||||
it('returns the creation date extracted from the id', function (): void {
|
||||
// GIVEN
|
||||
$expected = new \DateTimeImmutable('2024-06-15 12:34:56.789000', new \DateTimeZone('UTC'));
|
||||
$id = new CampaignId(Uuid::uuid7($expected));
|
||||
$expected = new \DateTimeImmutable('2024-06-15 12:34:56.789000', new \DateTimeZone('UTC'));
|
||||
$id = new CampaignId(Uuid::uuid7($expected));
|
||||
$campaign = Campaign::hydrate(
|
||||
$id,
|
||||
new CampaignCode('Camp100'),
|
||||
|
|
|
|||
|
|
@ -89,7 +89,7 @@ describe('tag', function (): void {
|
|||
// GIVEN
|
||||
$expected = new \DateTimeImmutable('2024-06-15 12:34:56.789000', new \DateTimeZone('UTC'));
|
||||
$id = new TagId(Uuid::uuid7($expected));
|
||||
$tag = Tag::hydrate(
|
||||
$tag = Tag::hydrate(
|
||||
$id,
|
||||
new TagName('Name'),
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue