forked from AkkomaGang/akkoma
changes after rebase
This commit is contained in:
parent
1d0e130cb3
commit
c4c5caedd8
17 changed files with 2 additions and 3 deletions
|
@ -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
|
Loading…
Reference in a new issue