mongooseim test: explicitly set password for the deactivated used

This commit is contained in:
fence 2020-04-27 19:32:58 +02:00
parent 935ca2c132
commit d607b4d840
1 changed files with 1 additions and 1 deletions

View File

@ -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