Skip to content

Commit

Permalink
Fix error in test
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Graney-Ward committed Jun 27, 2024
1 parent 2e9d5f3 commit 6f4824a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/services/auth/auth.controller.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ describe('AuthController', () => {

// Make the request to the endpoint
return request(app.getHttpServer())
.post('/api/v1/auth/request_hive_account')
.post('/v1/auth/request_hive_account')
.send({ username: 'test_user_id' })
.set('Authorization', 'Bearer <your_mocked_jwt_token>')
.expect(201)
Expand All @@ -163,7 +163,7 @@ describe('AuthController', () => {

// Make the request to the endpoint
return request(app.getHttpServer())
.post('/api/v1/auth/request_hive_account')
.post('/v1/auth/request_hive_account')
.send({ username: 'yeet' })
.set('Authorization', 'Bearer <your_mocked_jwt_token>')
.expect(400)
Expand Down

0 comments on commit 6f4824a

Please sign in to comment.