Skip to content

Commit

Permalink
Question service test updated
Browse files Browse the repository at this point in the history
  • Loading branch information
UO287687 committed Mar 4, 2024
1 parent 178a608 commit 7427c30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion questionservice/question-service.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ describe('Question Service', () => {

const response = await request(app).post('/addquestion').send(newQuestion);
expect(response.status).toBe(200);
expect(response.body).toHaveProperty('question', 'What is the capital of France?');
expect(response.body).toHaveProperty('question', 'Mocked Question');
});

});

0 comments on commit 7427c30

Please sign in to comment.