fix test warning (#6217)

Signed-off-by: Ye Sijun <junnplus@gmail.com>
This commit is contained in:
Jun
2023-07-21 14:52:46 +09:00
committed by GitHub
parent 05c9b35e42
commit 77a2c24d47
2 changed files with 2 additions and 2 deletions

View File

@@ -45,7 +45,7 @@ user_factory = ModelFactory(
redash.models.User,
name="John Doe",
email=Sequence("test{}@example.com"),
password_hash=pwd_context.encrypt("test1234"),
password_hash=pwd_context.hash("test1234"),
group_ids=[2],
org_id=1,
)