summaryrefslogtreecommitdiff
path: root/test/tasks/config_test.exs
diff options
context:
space:
mode:
authorMaksim Pechnikov <parallel588@gmail.com>2020-06-18 05:45:15 +0300
committerMaksim Pechnikov <parallel588@gmail.com>2020-06-18 05:45:15 +0300
commite4c61f1741f32fec3201f7d9a8403bc1bc329710 (patch)
treeb251adb33cab036815ba6fb456e5da21d922c58f /test/tasks/config_test.exs
parentc9b5e3fedabd0b6ef3bb9e6108385ffa3857af54 (diff)
downloadpleroma-e4c61f1741f32fec3201f7d9a8403bc1bc329710.tar.gz
pleroma-e4c61f1741f32fec3201f7d9a8403bc1bc329710.zip
added test
Diffstat (limited to 'test/tasks/config_test.exs')
-rw-r--r--test/tasks/config_test.exs1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/tasks/config_test.exs b/test/tasks/config_test.exs
index e1bddfebf..99038e544 100644
--- a/test/tasks/config_test.exs
+++ b/test/tasks/config_test.exs
@@ -50,6 +50,7 @@ defmodule Mix.Tasks.Pleroma.ConfigTest do
config3 = ConfigDB.get_by_params(%{group: ":quack", key: ":level"})
refute ConfigDB.get_by_params(%{group: ":pleroma", key: "Pleroma.Repo"})
refute ConfigDB.get_by_params(%{group: ":postgrex", key: ":json_library"})
+ refute ConfigDB.get_by_params(%{group: ":pleroma", key: ":database"})
assert config1.value == [key: "value", key2: [Repo]]
assert config2.value == [key: "value2", key2: ["Activity"]]