Skip to content

Commit

Permalink
fixing tests names
Browse files Browse the repository at this point in the history
Co-authored-by: Stefan Teixeira <stefanfk@gmail.com>
  • Loading branch information
uLucasFraga and stefanteixeira committed Aug 3, 2022
1 parent fb22c65 commit ec77779
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/api/cart.api.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ test.describe.parallel('Carts API', () => {
await expect(responseBody.message).toBe('Não foi encontrado carrinho para esse usuário')
})

test('cancel an order without a token', async ({ request }) => {
test('fails to cancel an order if authorization token is not provided', async ({ request }) => {
const response = await request.delete('/carrinhos/cancelar-compra', {
headers: { 'Authorization': '' }
})
Expand Down

0 comments on commit ec77779

Please sign in to comment.