update tests for user password hash

This commit is contained in:
Yisroel Baum 2026-04-24 13:19:51 +03:00
parent ada29ea957
commit 73ade7f971
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9
3 changed files with 4 additions and 0 deletions

View file

@ -39,6 +39,7 @@ class CreatePlanTest extends TestCase
$this->scheduledNodeRepo = new FakeScheduledNodeRepository();
$this->userRepo->create(new CreateUserDto(
email: new EmailAddress('test@test.com'),
passwordHash: '',
));
$this->createScheduledNode = new CreateScheduledNode(
scheduledNodeRepo: $this->scheduledNodeRepo,

View file

@ -15,6 +15,7 @@ class FakeUserRepositoryTest extends TestCase
$userRepo = new FakeUserRepository();
$userRepo->create(new CreateUserDto(
email: new EmailAddress('test@test.com'),
passwordHash: '',
));
$user = $userRepo->findByEmail(new EmailAddress('test@test.com'));
@ -39,6 +40,7 @@ class FakeUserRepositoryTest extends TestCase
$userRepo = new FakeUserRepository();
$created = $userRepo->create(new CreateUserDto(
email: new EmailAddress('test@test.com'),
passwordHash: '',
));
$fetched = $userRepo->findByEmail(