update tests for user password hash
This commit is contained in:
parent
ada29ea957
commit
73ade7f971
3 changed files with 4 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -40,6 +40,7 @@ class PlanControllerTest extends TestCase
|
|||
|
||||
$this->userRepo->create(new CreateUserDto(
|
||||
email: new EmailAddress('test@test.com'),
|
||||
passwordHash: '',
|
||||
));
|
||||
$text = $this->textRepo->create(new CreateTextDto('testname'));
|
||||
$this->nodeRepo->create(new CreateNodeDto(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue