Skip to content

Commit

Permalink
API: updates test PATCH user response
Browse files Browse the repository at this point in the history
  • Loading branch information
andresgnlez authored and Andrés González committed Oct 16, 2024
1 parent 7be0fbd commit 81e0a95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/test/integration/users/users-me.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ describe('Users ME (e2e)', () => {
.patch(usersContract.updateMe.path)
.send({ name: newName })
.set('Authorization', `Bearer ${jwtToken}`);
expect(response.status).toBe(201);
expect(response.status).toBe(200);
expect(response.body.data.id).toEqual(user.id);
expect(response.body.data.name).toEqual(newName);

Expand Down

0 comments on commit 81e0a95

Please sign in to comment.