Просмотр исходного кода

PlugHelper module name

1668/default-disable-prometheus
Alexander Strizhakov 3 лет назад
Родитель
Сommit
15772fda57
Не найден GPG ключ соответствующий данной подписи Идентификатор GPG ключа: 22896A53AEF1381
5 измененных файлов: 5 добавлений и 5 удалений
  1. +1
    -1
      lib/pleroma/web.ex
  2. +1
    -1
      lib/pleroma/web/plugs/plug_helper.ex
  3. +1
    -1
      test/pleroma/web/plugs/authentication_plug_test.exs
  4. +1
    -1
      test/pleroma/web/plugs/legacy_authentication_plug_test.exs
  5. +1
    -1
      test/pleroma/web/plugs/plug_helper_test.exs

+ 1
- 1
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


+ 1
- 1
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


+ 1
- 1
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


+ 1
- 1
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


+ 1
- 1
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



Загрузка…
Отмена
Сохранить