Skip to content

Commit

Permalink
Merge pull request #248 from ricardo-emanuel01/main
Browse files Browse the repository at this point in the history
teste do endpoint de update um usuario tentando atualizar outro
  • Loading branch information
dunossauro authored Oct 2, 2024
2 parents 08fa07f + b1c0114 commit 46d8ac0
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 46d8ac0

Please sign in to comment.