mirror of
https://github.com/rjNemo/fastapi
synced 2026-06-06 02:26:46 +00:00
🎨 Update and clarify testing function name (#1395)
test_create_existing_token -> test_create_existing_item
This commit is contained in:
parent
6af857f206
commit
fe15620df3
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ def test_create_item_bad_token():
|
|||
assert response.json() == {"detail": "Invalid X-Token header"}
|
||||
|
||||
|
||||
def test_create_existing_token():
|
||||
def test_create_existing_item():
|
||||
response = client.post(
|
||||
"/items/",
|
||||
headers={"X-Token": "coneofsilence"},
|
||||
|
|
|
|||
Loading…
Reference in a new issue