mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 08:36:29 +00:00
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 @@ defmodule Pleroma.Web.MongooseIMController 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