Skip to content

Commit

Permalink
test(CC-119): ajust test e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
luana-v-santos committed Apr 25, 2024
1 parent db4f78d commit def3ff7
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@ describe('[E2E] - Update Appointment Registry', () => {
});

expect(response.status).toEqual(200);
expect(response.body).toEqual({
message: 'Appointment registry updated successfully',
});
expect(response.body.message).toEqual('Appointment registry updated successfully');
});

it('should return 404 if the appointment registry does not exist', async () => {
Expand Down

0 comments on commit def3ff7

Please sign in to comment.