test password login
This commit is contained in:
parent
879c294582
commit
93f5f022e4
6 changed files with 220 additions and 0 deletions
|
|
@ -20,6 +20,7 @@ class EloquentSessionRepositoryTest extends TestCase
|
|||
{
|
||||
$user = app(UserRepository::class)->create(new CreateUserDto(
|
||||
email: new EmailAddress('user@example.com'),
|
||||
password: 'correct-password',
|
||||
));
|
||||
$createdAt = $this->utc('2026-07-31T12:00:00');
|
||||
$expiresAt = $this->utc('2026-08-07T12:00:00');
|
||||
|
|
@ -61,6 +62,7 @@ class EloquentSessionRepositoryTest extends TestCase
|
|||
{
|
||||
$user = app(UserRepository::class)->create(new CreateUserDto(
|
||||
email: new EmailAddress('user@example.com'),
|
||||
password: 'correct-password',
|
||||
));
|
||||
$repository = app(SessionRepository::class);
|
||||
$repository->create(new CreateSessionDto(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue