X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=test%2Fplugs%2Flegacy_authentication_plug_test.exs;h=302662797230a9ca3e40bed80f5ba0f10f5c12c7;hb=8ae4837abdcb74b570b4257f0afd9a1f5296726f;hp=117810722aecd8a83d463371039c54b1ae7bc159;hpb=44b094908c28b588438b4bf31c0a4751be47f48d;p=akkoma diff --git a/test/plugs/legacy_authentication_plug_test.exs b/test/plugs/legacy_authentication_plug_test.exs index 117810722..302662797 100644 --- a/test/plugs/legacy_authentication_plug_test.exs +++ b/test/plugs/legacy_authentication_plug_test.exs @@ -1,3 +1,7 @@ +# Pleroma: A lightweight social networking server +# Copyright © 2017-2018 Pleroma Authors +# SPDX-License-Identifier: AGPL-3.0-only + defmodule Pleroma.Plugs.LegacyAuthenticationPlugTest do use Pleroma.Web.ConnCase, async: true @@ -45,7 +49,7 @@ defmodule Pleroma.Plugs.LegacyAuthenticationPlugTest do 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