From a6c53a55f2d227a952b375e75d8eea5d3fd32081 Mon Sep 17 00:00:00 2001 From: "iamgabrielsoft@gmail.com" Date: Mon, 20 May 2024 10:27:41 +0100 Subject: [PATCH] change join route method to POST --- src/presentation/http/router/join.test.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/presentation/http/router/join.test.ts b/src/presentation/http/router/join.test.ts index fd1e5f1c..279bcc36 100644 --- a/src/presentation/http/router/join.test.ts +++ b/src/presentation/http/router/join.test.ts @@ -42,6 +42,7 @@ describe('Join API', () => { headers: { authorization: `Bearer ${accessToken}`, }, + body: { invitationHash }, url: `/join/${invitationHash}`, }); @@ -61,6 +62,7 @@ describe('Join API', () => { headers: { authorization: `Bearer ${accessToken}`, }, + body: { hash }, url: `/join/${hash}`, }); @@ -107,6 +109,7 @@ describe('Join API', () => { headers: { authorization: `Bearer ${accessToken}`, }, + body: { invitationHash }, url: `/join/${invitationHash}`, });