From 1ae5550830b6e9050ed6fb12fd5390b02e6c666a Mon Sep 17 00:00:00 2001 From: MarcosBarrilVillaverde <114151873+MarcosBarrilVillaverde@users.noreply.github.com> Date: Wed, 13 Mar 2024 17:01:50 +0100 Subject: [PATCH] Update store-q.test.js fixed --- storeQuestionService/store-q.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storeQuestionService/store-q.test.js b/storeQuestionService/store-q.test.js index b9aeb2ac..4ffd62af 100644 --- a/storeQuestionService/store-q.test.js +++ b/storeQuestionService/store-q.test.js @@ -27,7 +27,7 @@ describe('Store questions service', () => { const response = await request(app).post('/history/question').send(newQuestion); expect(response.status).toBe(200); - expect(response.body).toHaveProperty('question', 'c_answer', 'w_answers'); + expect(response.body).toHaveProperty('pregunta', 'respuesta_correcta', 'respuestas_incorrectas'); }); });