formating

This commit is contained in:
fence 2020-04-28 01:29:31 +02:00
parent d607b4d840
commit 5ff20793e7
2 changed files with 7 additions and 3 deletions

View file

@ -44,4 +44,3 @@ defmodule Pleroma.Web.MongooseIM.MongooseIMController do
end
end
end

View file

@ -42,7 +42,13 @@ 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, password_hash: Comeonin.Pbkdf2.hashpwsalt("cool"))
_deactivated_user =
insert(:user,
nickname: "konata",
deactivated: true,
password_hash: Comeonin.Pbkdf2.hashpwsalt("cool")
)
res =
conn
@ -65,7 +71,6 @@ defmodule Pleroma.Web.MongooseIMController do
assert res == false
res =
conn
|> get(mongoose_im_path(conn, :check_password), user: "nobody", pass: "cool")