mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 08:36:29 +00:00
10 lines
292 B
Elixir
10 lines
292 B
Elixir
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
|