mirror of
https://github.com/fastapi-users/fastapi-users.git
synced 2026-03-13 07:49:55 +08:00
Close #3: forgot/reset password routes
This commit is contained in:
@@ -73,10 +73,7 @@ async def test_queries(sqlalchemy_user_db):
|
||||
|
||||
# Exception when inserting non-nullable fields
|
||||
with pytest.raises(sqlite3.IntegrityError):
|
||||
wrong_user = BaseUserDB(
|
||||
id="222",
|
||||
hashed_password="aaa"
|
||||
)
|
||||
wrong_user = BaseUserDB(id="222", hashed_password="aaa")
|
||||
await sqlalchemy_user_db.create(wrong_user)
|
||||
|
||||
# Unknown user
|
||||
|
||||
Reference in New Issue
Block a user