forked from AkkomaGang/akkoma
mongooseim test: explicitly set password for the deactivated used
This commit is contained in:
parent
935ca2c132
commit
d607b4d840
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ test "/user_exists", %{conn: conn} do
|
|||
|
||||
test "/check_password", %{conn: conn} do
|
||||
user = insert(:user, password_hash: Comeonin.Pbkdf2.hashpwsalt("cool"))
|
||||
_deactivated_user = insert(:user, nickname: "konata", deactivated: true)
|
||||
_deactivated_user = insert(:user, nickname: "konata", deactivated: true, password_hash: Comeonin.Pbkdf2.hashpwsalt("cool"))
|
||||
|
||||
res =
|
||||
conn
|
||||
|
|
Loading…
Reference in a new issue