aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorfeld <feld@feld.me>2020-02-06 16:02:46 +0000
committerfeld <feld@feld.me>2020-02-06 16:02:46 +0000
commit5499f172b2f05c4e1ffaa1e861852911131e1fe6 (patch)
treeaae7861a939aacd06d827421faeda10fb4be2771 /test
parent15cb1f6804fde19330a3c1f06eb24802c7503be3 (diff)
parent7a2e153a8dec4337f16aeacab534f26f720cb5eb (diff)
downloadpleroma-5499f172b2f05c4e1ffaa1e861852911131e1fe6.tar.gz
Merge branch 'config-changes' into 'develop'
Config changes Closes #1547 See merge request pleroma/pleroma!2174
Diffstat (limited to 'test')
-rw-r--r--test/web/admin_api/admin_api_controller_test.exs7
1 files changed, 0 insertions, 7 deletions
diff --git a/test/web/admin_api/admin_api_controller_test.exs b/test/web/admin_api/admin_api_controller_test.exs
index 87f1366a4..5fbdf96f6 100644
--- a/test/web/admin_api/admin_api_controller_test.exs
+++ b/test/web/admin_api/admin_api_controller_test.exs
@@ -1899,13 +1899,6 @@ defmodule Pleroma.Web.AdminAPI.AdminAPIControllerTest do
"To use this endpoint you need to enable configuration from database."
end
- test "without any settings in db", %{conn: conn} do
- conn = get(conn, "/api/pleroma/admin/config")
-
- assert json_response(conn, 400) ==
- "To use configuration from database migrate your settings to database."
- end
-
test "with settings only in db", %{conn: conn} do
config1 = insert(:config)
config2 = insert(:config)