changes after rebase

This commit is contained in:
Alexander Strizhakov 2020-08-16 21:01:38 +03:00
parent 1d0e130cb3
commit c4c5caedd8
No known key found for this signature in database
GPG key ID: 022896A53AEF1381
17 changed files with 2 additions and 3 deletions

View file

@ -2,8 +2,7 @@
# Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
# 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 @@ test "init will give a static plug config + the frontend type" do
at: "/admin",
frontend_type: :admin
]
|> FrontendStatic.init()
|> Pleroma.Web.Plugs.FrontendStatic.init()
assert opts[:at] == ["admin"]
assert opts[:frontend_type] == :admin