aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Strizhakov <alex.strizhakov@gmail.com>2020-06-24 09:42:36 +0300
committerAlexander Strizhakov <alex.strizhakov@gmail.com>2020-10-13 16:43:53 +0300
commit15772fda5715f901fcc676ce43d3debe462d94c3 (patch)
tree23cfe123b47ad2552a14889e134716c7a4c4c0d7
parent4b1863ca4e0a99d794f856fcb6bf5630d8408825 (diff)
downloadpleroma-15772fda5715f901fcc676ce43d3debe462d94c3.tar.gz
PlugHelper module name
-rw-r--r--lib/pleroma/web.ex2
-rw-r--r--lib/pleroma/web/plugs/plug_helper.ex2
-rw-r--r--test/pleroma/web/plugs/authentication_plug_test.exs2
-rw-r--r--test/pleroma/web/plugs/legacy_authentication_plug_test.exs2
-rw-r--r--test/pleroma/web/plugs/plug_helper_test.exs2
5 files changed, 5 insertions, 5 deletions
diff --git a/lib/pleroma/web.ex b/lib/pleroma/web.ex
index 9ca52733d..66ebe8deb 100644
--- a/lib/pleroma/web.ex
+++ b/lib/pleroma/web.ex
@@ -25,7 +25,7 @@ defmodule Pleroma.Web do
alias Pleroma.Plugs.ExpectAuthenticatedCheckPlug
alias Pleroma.Plugs.ExpectPublicOrAuthenticatedCheckPlug
alias Pleroma.Plugs.OAuthScopesPlug
- alias Pleroma.Plugs.PlugHelper
+ alias Pleroma.Web.Plugs.PlugHelper
def controller do
quote do
diff --git a/lib/pleroma/web/plugs/plug_helper.ex b/lib/pleroma/web/plugs/plug_helper.ex
index 9c67be8ef..b314e7596 100644
--- a/lib/pleroma/web/plugs/plug_helper.ex
+++ b/lib/pleroma/web/plugs/plug_helper.ex
@@ -2,7 +2,7 @@
# Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
-defmodule Pleroma.Plugs.PlugHelper do
+defmodule Pleroma.Web.Plugs.PlugHelper do
@moduledoc "Pleroma Plug helper"
@called_plugs_list_id :called_plugs
diff --git a/test/pleroma/web/plugs/authentication_plug_test.exs b/test/pleroma/web/plugs/authentication_plug_test.exs
index 550543ff2..0bc589fbe 100644
--- a/test/pleroma/web/plugs/authentication_plug_test.exs
+++ b/test/pleroma/web/plugs/authentication_plug_test.exs
@@ -7,7 +7,7 @@ defmodule Pleroma.Web.Plugs.AuthenticationPlugTest do
alias Pleroma.Plugs.AuthenticationPlug
alias Pleroma.Plugs.OAuthScopesPlug
- alias Pleroma.Plugs.PlugHelper
+ alias Pleroma.Web.Plugs.PlugHelper
alias Pleroma.User
import ExUnit.CaptureLog
diff --git a/test/pleroma/web/plugs/legacy_authentication_plug_test.exs b/test/pleroma/web/plugs/legacy_authentication_plug_test.exs
index fbb25ee7b..6a44c673e 100644
--- a/test/pleroma/web/plugs/legacy_authentication_plug_test.exs
+++ b/test/pleroma/web/plugs/legacy_authentication_plug_test.exs
@@ -9,7 +9,7 @@ defmodule Pleroma.Web.Plugs.LegacyAuthenticationPlugTest do
alias Pleroma.Plugs.LegacyAuthenticationPlug
alias Pleroma.Plugs.OAuthScopesPlug
- alias Pleroma.Plugs.PlugHelper
+ alias Pleroma.Web.Plugs.PlugHelper
alias Pleroma.User
setup do
diff --git a/test/pleroma/web/plugs/plug_helper_test.exs b/test/pleroma/web/plugs/plug_helper_test.exs
index 0d32031e8..6febd4388 100644
--- a/test/pleroma/web/plugs/plug_helper_test.exs
+++ b/test/pleroma/web/plugs/plug_helper_test.exs
@@ -7,7 +7,7 @@ defmodule Pleroma.Web.Plugs.PlugHelperTest do
alias Pleroma.Plugs.ExpectAuthenticatedCheckPlug
alias Pleroma.Plugs.ExpectPublicOrAuthenticatedCheckPlug
- alias Pleroma.Plugs.PlugHelper
+ alias Pleroma.Web.Plugs.PlugHelper
import Mock