test password login
This commit is contained in:
parent
879c294582
commit
93f5f022e4
6 changed files with 220 additions and 0 deletions
|
|
@ -25,6 +25,7 @@ class MeEndpointTest extends TestCase
|
|||
);
|
||||
$user = app(UserRepository::class)->create(new CreateUserDto(
|
||||
email: new EmailAddress('user@example.com'),
|
||||
password: 'correct-password',
|
||||
));
|
||||
app(SessionRepository::class)->create(new CreateSessionDto(
|
||||
token: 'valid-token',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue