Skip to content

Commit

Permalink
test(CC-88): fixed authenticate controller e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
ItaloRAmaral committed Oct 29, 2023
1 parent a2342ac commit 3020ce1
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,11 @@ describe('[E2E] - Authenticate Psychologist', () => {

expect(response.statusCode).toBe(201);
expect(response.body).toEqual({
id: newPsychologist.id,
name: newPsychologist.name,
email: newPsychologist.email,
user: {
id: newPsychologist.id,
name: newPsychologist.name,
email: newPsychologist.email,
},
access_token: expect.any(String),
});
});
Expand Down

0 comments on commit 3020ce1

Please sign in to comment.