Skip to content

Commit

Permalink
game service test removed to solve conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
UO287687 committed Apr 15, 2024
1 parent 592bfd2 commit 2a39496
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
Binary file added docs/images/06_history.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 0 additions & 9 deletions gameservice/game-service.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,15 +89,6 @@ describe('Game Service', () => {
expect(response.body).toEqual(mockParticipationData);
});

// Test para manejar el caso de usuario no encontrado al obtener los datos de participación
it('should return 404 when getting participation data for non-existent user', async () => {
const nonExistentUserId = 'nonExistentUserId';
const response = await request(app).get(`/getParticipation/${nonExistentUserId}`);

expect(response.status).toBe(404);
expect(response.body).toEqual({ error: 'No participation data found for the user.' });
});
});
describe('Api info users', () => {
it('should get user information on GET /api/info/users', async () => {
const axiosMock = jest.spyOn(axios, 'get');
Expand Down

0 comments on commit 2a39496

Please sign in to comment.