Improve users table sanitization
This commit is contained in:
@@ -17,8 +17,6 @@ def test_registration():
|
||||
"device_type": 1,
|
||||
"device_id": token_hex(16),
|
||||
"city_id": 5,
|
||||
"access_key": token_hex(16),
|
||||
"badge": 1,
|
||||
}
|
||||
response = client.post("/register", json=user)
|
||||
assert response.status_code == 200
|
||||
|
||||
Reference in New Issue
Block a user