Get rid of Pleroma.Config in favor of Application
Discussed in https://git.pleroma.social/pleroma/pleroma/merge_requests/426#note_7232
This commit is contained in:
parent
0f6c4635a6
commit
2bc924ba45
7 changed files with 25 additions and 38 deletions
|
|
@ -1,10 +0,0 @@
|
|||
defmodule Pleroma.ConfigTest do
|
||||
use Pleroma.DataCase
|
||||
alias Pleroma.Config
|
||||
|
||||
test "get returns the item at the path if there is one" do
|
||||
Config.put([:instance, :name], "Plemora")
|
||||
assert Config.get([:instance, :name]) == "Plemora"
|
||||
assert Config.get([:unknown]) == nil
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue