diff --git a/backend/apis/nodejs/src/tests/test.js b/backend/apis/nodejs/src/tests/test.js index e405f46..19056c0 100644 --- a/backend/apis/nodejs/src/tests/test.js +++ b/backend/apis/nodejs/src/tests/test.js @@ -132,7 +132,7 @@ describe('Person tests', () => { }); // Get myself - it('should return a 200 status code for POST /persons/me', async () => { + it('should return a 200 status code for GET /persons/me', async () => { const response = await request(apiEndpoint) .get('/persons/me') .set("Authorization", `Bearer ${bearerToken}`) @@ -141,7 +141,7 @@ describe('Person tests', () => { }); // Get myself without token - it('should return a 401 status code for POST /persons/me', async () => { + it('should return a 401 status code for GET /persons/me', async () => { const response = await request(apiEndpoint) .get('/persons/me') .send();