+# Pleroma: A lightweight social networking server
+# Copyright © 2017-2018 Pleroma Authors <https://pleroma.social/>
+# SPDX-License-Identifier: AGPL-3.0-only
+
defmodule Pleroma.Plugs.LegacyAuthenticationPlugTest do
use Pleroma.Web.ConnCase, async: true
conn =
with_mock User,
reset_password: fn user, %{password: password, password_confirmation: password} ->
- send(self, :reset_password)
+ send(self(), :reset_password)
{:ok, user}
end do
conn