Skip to content

Commit

Permalink
🧪 chore: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rezk2ll committed Jul 12, 2024
1 parent 1889bbb commit dd7727f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/tom-server/src/vault-api/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,9 @@ describe('Vault API server', () => {
})

it('reject not allowed method with 405', async () => {
const response = await request(app).put(endpoint)
const response = await request(app).patch(endpoint)
expect(response.statusCode).toBe(405)
expect(response.body).toStrictEqual({
expect(response.body).toStrictEqual({
error: 'Method not allowed'
})
})
Expand Down

0 comments on commit dd7727f

Please sign in to comment.