X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;ds=sidebyside;f=test%2Fpleroma%2Fweb%2Fplugs%2Ffrontend_static_plug_test.exs;fp=test%2Fplugs%2Ffrontend_static_test.exs;h=f6f7d7bdbec45e4382e9ae56a0d4e3d901e3847b;hb=c4c5caedd809e46542ae3632762d93f14890d51d;hp=6f49230481e80763475e0909ff973cc2c57ba69f;hpb=1d0e130cb3f37f611ec8242d99c12f693e328112;p=akkoma diff --git a/test/plugs/frontend_static_test.exs b/test/pleroma/web/plugs/frontend_static_plug_test.exs similarity index 92% rename from test/plugs/frontend_static_test.exs rename to test/pleroma/web/plugs/frontend_static_plug_test.exs index 6f4923048..f6f7d7bdb 100644 --- a/test/plugs/frontend_static_test.exs +++ b/test/pleroma/web/plugs/frontend_static_plug_test.exs @@ -2,8 +2,7 @@ # Copyright © 2017-2020 Pleroma Authors # SPDX-License-Identifier: AGPL-3.0-only -defmodule Pleroma.Web.FrontendStaticPlugTest do - alias Pleroma.Plugs.FrontendStatic +defmodule Pleroma.Web.Plugs.FrontendStaticPlugTest do use Pleroma.Web.ConnCase @dir "test/tmp/instance_static" @@ -21,7 +20,7 @@ defmodule Pleroma.Web.FrontendStaticPlugTest do at: "/admin", frontend_type: :admin ] - |> FrontendStatic.init() + |> Pleroma.Web.Plugs.FrontendStatic.init() assert opts[:at] == ["admin"] assert opts[:frontend_type] == :admin