projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix private post card handling.
[akkoma]
/
test
/
plugs
/
legacy_authentication_plug_test.exs
diff --git
a/test/plugs/legacy_authentication_plug_test.exs
b/test/plugs/legacy_authentication_plug_test.exs
index 117810722aecd8a83d463371039c54b1ae7bc159..302662797230a9ca3e40bed80f5ba0f10f5c12c7 100644
(file)
--- 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 <https://pleroma.social/>
+# SPDX-License-Identifier: AGPL-3.0-only
+
defmodule Pleroma.Plugs.LegacyAuthenticationPlugTest do
use Pleroma.Web.ConnCase, async: true
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} ->
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
{:ok, user}
end do
conn