Fix infinite sql query bug
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user