commit: 8066645f711f38986b3d0f9c0b34d6956563da6a
parent f5978da67633110acbc6494ff6f07b3f07424779
Author: Lain Soykaf <lain@lain.com>
Date: Tue, 28 May 2024 14:20:48 +0400
Linting
Diffstat:
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/test/pleroma/web/plugs/http_signature_plug_test.exs b/test/pleroma/web/plugs/http_signature_plug_test.exs
@@ -4,13 +4,14 @@
defmodule Pleroma.Web.Plugs.HTTPSignaturePlugTest do
use Pleroma.Web.ConnCase, async: true
- alias Pleroma.Web.Plugs.HTTPSignaturePlug
- alias Pleroma.StubbedHTTPSignaturesMock, as: HTTPSignaturesMock
+
alias Pleroma.StaticStubbedConfigMock, as: ConfigMock
+ alias Pleroma.StubbedHTTPSignaturesMock, as: HTTPSignaturesMock
+ alias Pleroma.Web.Plugs.HTTPSignaturePlug
- import Plug.Conn
- import Phoenix.Controller, only: [put_format: 2]
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
params = %{"actor" => "http://mastodon.example.org/users/admin"}