mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 08:36:29 +00:00
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/>
|
# Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
|
||||||
# SPDX-License-Identifier: AGPL-3.0-only
|
# SPDX-License-Identifier: AGPL-3.0-only
|
||||||
|
|
||||||
defmodule Pleroma.Web.FrontendStaticPlugTest do
|
defmodule Pleroma.Web.Plugs.FrontendStaticPlugTest do
|
||||||
alias Pleroma.Plugs.FrontendStatic
|
|
||||||
use Pleroma.Web.ConnCase
|
use Pleroma.Web.ConnCase
|
||||||
|
|
||||||
@dir "test/tmp/instance_static"
|
@dir "test/tmp/instance_static"
|
||||||
|
@ -21,7 +20,7 @@ defmodule Pleroma.Web.FrontendStaticPlugTest do
|
||||||
at: "/admin",
|
at: "/admin",
|
||||||
frontend_type: :admin
|
frontend_type: :admin
|
||||||
]
|
]
|
||||||
|> FrontendStatic.init()
|
|> Pleroma.Web.Plugs.FrontendStatic.init()
|
||||||
|
|
||||||
assert opts[:at] == ["admin"]
|
assert opts[:at] == ["admin"]
|
||||||
assert opts[:frontend_type] == :admin
|
assert opts[:frontend_type] == :admin
|
Loading…
Reference in a new issue