COPYING: Add copyright notice for the whole repository
[akkoma] / test / plugs / legacy_authentication_plug_test.exs
index 117810722aecd8a83d463371039c54b1ae7bc159..302662797230a9ca3e40bed80f5ba0f10f5c12c7 100644 (file)
@@ -1,3 +1,7 @@
+# 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
 
@@ -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