Skip to content

Commit

Permalink
user_id no path corrigido para conflitar no teste
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardo-emanuel01 committed Oct 2, 2024
1 parent 08fa07f commit b1c0114
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aulas/08.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Para testar isso, criaremos um novo teste chamado test_update_user_with_wrong_us
```python title="tests/test_users.py"
def test_update_user_with_wrong_user(client, user, token):
response = client.put(
f'/users/{user.id}',
f'/users/{user.id + 1}',
headers={'Authorization': f'Bearer {token}'},
json={
'username': 'bob',
Expand Down

0 comments on commit b1c0114

Please sign in to comment.