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 56a4b3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/tom-server/src/vault-api/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ 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({
error: 'Method not allowed'
Expand Down

0 comments on commit 56a4b3e

Please sign in to comment.