mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-27 00:09:35 +00:00
mongooseim test: explicitly set password for the deactivated used
This commit is contained in:
parent
935ca2c132
commit
d607b4d840
|
@ -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