Skip to content

Commit

Permalink
Fixed a status code
Browse files Browse the repository at this point in the history
  • Loading branch information
jaipise committed Feb 5, 2024
1 parent a888fa7 commit ad9d0f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/api-gateway/test/app.e2e-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ describe('User Creation Routes', () => {
it('should retrieves a user by id', () => {
return request(app.getHttpServer())
.get('/user/1')
.expect(201)
.expect(200)
.then((response) => {
expect(response.body.name).toEqual('John Doe');
})
Expand Down

0 comments on commit ad9d0f2

Please sign in to comment.