Skip to content

Commit

Permalink
Update test_security_openid_connect_description.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rhuanbarreto committed Mar 25, 2023
1 parent 56b998d commit 379c716
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_security_openid_connect_description.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,5 +76,5 @@ def test_security_oauth2_password_other_header():

def test_security_oauth2_password_bearer_no_header():
response = client.get("/users/me")
assert response.status_code == 403, response.text
assert response.json() == {"detail": "Not authenticated"}
assert response.status_code == 401, response.text
assert response.json() == {"detail": "Unauthorized"}

0 comments on commit 379c716

Please sign in to comment.