Skip to content

Commit

Permalink
Update record-service.test.js
Browse files Browse the repository at this point in the history
  • Loading branch information
lauracc97 authored Apr 23, 2024
1 parent 3fd1538 commit 1468922
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions recordhistory/record-service.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,17 +63,5 @@ describe('Record Service', () => {
//Compruebo que los dos records pertenecen al mismo usuario
expect(response.body[0]).toHaveProperty('user_id', 'testuser');
expect(response.body[1]).toHaveProperty('user_id', 'testuser');

//Compruebo que los records tienen el número de preguntas correctas correcto
expect(response.body[0]).toHaveProperty('correctQuestions', 8);
expect(response.body[1]).toHaveProperty('correctQuestions', 6);

//Compruebo que los records tienen el número total de preguntas correcto
expect(response.body[0]).toHaveProperty('totalQuestions', 10);
expect(response.body[1]).toHaveProperty('totalQuestions', 12);

//Compruebo que los records tienen el número total de preguntas correcto
expect(response.body[0]).toHaveProperty('totalTime', 120);
expect(response.body[1]).toHaveProperty('totalTime', 90);
});
});
});

0 comments on commit 1468922

Please sign in to comment.