From 865c25cb689063fcbfc9040d293bf4f6bc1168f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Gonz=C3=A1lez=20Mu=C3=B1oz?= Date: Tue, 15 Oct 2024 13:28:27 +0200 Subject: [PATCH] API: updates test PATCH user response --- api/test/integration/users/users-me.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/test/integration/users/users-me.spec.ts b/api/test/integration/users/users-me.spec.ts index c33bdf1b..6db277c6 100644 --- a/api/test/integration/users/users-me.spec.ts +++ b/api/test/integration/users/users-me.spec.ts @@ -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);