Fix infinite sql query bug

This commit is contained in:
lvrossem
2023-04-17 13:21:46 -06:00
parent 38eb9027d6
commit 6a8cb2c3bd
7 changed files with 77 additions and 25 deletions

View File

@@ -208,7 +208,11 @@ async def test_get_highscores_returns_sorted_list_with_correct_length():
response = client.post(
"/register",
headers=headers,
json={"username": user, "password": password, "avatar": avatar},
json={
"username": user,
"password": password,
"avatar_index": avatar_index,
},
)
assert response.status_code == 200