Fix warning.
This commit is contained in:
parent
70163aec9b
commit
d22af29bb4
@ -45,7 +45,7 @@ defmodule Pleroma.Plugs.LegacyAuthenticationPlugTest do
|
|||||||
conn =
|
conn =
|
||||||
with_mock User,
|
with_mock User,
|
||||||
reset_password: fn user, %{password: password, password_confirmation: password} ->
|
reset_password: fn user, %{password: password, password_confirmation: password} ->
|
||||||
send(self, :reset_password)
|
send(self(), :reset_password)
|
||||||
{:ok, user}
|
{:ok, user}
|
||||||
end do
|
end do
|
||||||
conn
|
conn
|
||||||
|
Loading…
Reference in New Issue
Block a user