Linting
This commit is contained in:
parent
f5978da676
commit
8066645f71
|
@ -4,13 +4,14 @@
|
||||||
|
|
||||||
defmodule Pleroma.Web.Plugs.HTTPSignaturePlugTest do
|
defmodule Pleroma.Web.Plugs.HTTPSignaturePlugTest do
|
||||||
use Pleroma.Web.ConnCase, async: true
|
use Pleroma.Web.ConnCase, async: true
|
||||||
alias Pleroma.Web.Plugs.HTTPSignaturePlug
|
|
||||||
alias Pleroma.StubbedHTTPSignaturesMock, as: HTTPSignaturesMock
|
|
||||||
alias Pleroma.StaticStubbedConfigMock, as: ConfigMock
|
|
||||||
|
|
||||||
import Plug.Conn
|
alias Pleroma.StaticStubbedConfigMock, as: ConfigMock
|
||||||
import Phoenix.Controller, only: [put_format: 2]
|
alias Pleroma.StubbedHTTPSignaturesMock, as: HTTPSignaturesMock
|
||||||
|
alias Pleroma.Web.Plugs.HTTPSignaturePlug
|
||||||
|
|
||||||
import Mox
|
import Mox
|
||||||
|
import Phoenix.Controller, only: [put_format: 2]
|
||||||
|
import Plug.Conn
|
||||||
|
|
||||||
test "it calls HTTPSignatures to check validity if the actor signed it" do
|
test "it calls HTTPSignatures to check validity if the actor signed it" do
|
||||||
params = %{"actor" => "http://mastodon.example.org/users/admin"}
|
params = %{"actor" => "http://mastodon.example.org/users/admin"}
|
||||||
|
|
Loading…
Reference in New Issue