Skip to content

Commit

Permalink
fixed gw test
Browse files Browse the repository at this point in the history
  • Loading branch information
adriiglz committed Apr 27, 2024
1 parent a04bf23 commit 5588ecf
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions gatewayservice/gateway-service.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ describe('Gateway Service', () => {
} else if (url.endsWith('/ranking/user')) {
return Promise.resolve({data:{
username: data.params.username,
category: data.params.category,
points: 5,
questions: 7,
correct: 5,
Expand Down Expand Up @@ -290,13 +289,11 @@ it('should forward get Foods request to question service', async () => {
.get('/ranking/user')
.query({
username: "username",
category: "category"
})

// Verify response body
expect(response.body).toEqual({
username: "username",
category: "category",
points: 5,
questions: 7,
correct: 5,
Expand Down

0 comments on commit 5588ecf

Please sign in to comment.